bug fix.
This commit is contained in:
@@ -752,6 +752,15 @@ function CheckFW() {
|
||||
// Highlight firmware in about popup
|
||||
let fwElement = "fw"+fwVersion.replace('.','');
|
||||
document.getElementById(fwElement).classList.add('fwSelected');
|
||||
} else {
|
||||
document.getElementById('PS4FW').style.color = 'red';
|
||||
|
||||
elementsToHide.forEach(id => {
|
||||
const el = document.getElementById(id);
|
||||
if (el) el.style.display = 'none';
|
||||
});
|
||||
}
|
||||
ps4fw = fwVersion;
|
||||
// Display only Compatible GoldHENs
|
||||
const GoldHENsOption = {
|
||||
"9.60": ["GHv2.3Fw755", "GHv2.3Fw702"],
|
||||
@@ -774,15 +783,7 @@ function CheckFW() {
|
||||
const el = document.getElementById(id);
|
||||
if (el) el.remove();
|
||||
});
|
||||
} else {
|
||||
document.getElementById('PS4FW').style.color = 'red';
|
||||
|
||||
elementsToHide.forEach(id => {
|
||||
const el = document.getElementById(id);
|
||||
if (el) el.style.display = 'none';
|
||||
});
|
||||
}
|
||||
ps4fw = fwVersion;
|
||||
} else {
|
||||
platform = 'Unknown platform';
|
||||
|
||||
@@ -792,11 +793,11 @@ function CheckFW() {
|
||||
else if (/Windows/.test(userAgent)) platform = 'Windows';
|
||||
else if (/Linux/.test(userAgent)) platform = 'Linux';
|
||||
|
||||
// document.getElementById('PS4FW').style.color = 'red';
|
||||
// elementsToHide.forEach(id => {
|
||||
// const el = document.getElementById(id);
|
||||
// if (el) el.style.display = 'none';
|
||||
// });
|
||||
document.getElementById('PS4FW').style.color = 'red';
|
||||
elementsToHide.forEach(id => {
|
||||
const el = document.getElementById(id);
|
||||
if (el) el.style.display = 'none';
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user