Skip to content

Commit

Permalink
Remove the visibility check as it was causing issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgstroud committed May 2, 2024
1 parent 0f93966 commit 1421a71
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/www/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,9 @@ async function checkVersion(progress) {
}
// make sure we have newest release first
let prerelease = false;
if (document.getElementById("prerelease").checkVisibility()) {
// Firmware update dialog is visible
prerelease = document.getElementById("prerelease").checked;
}
// Firmware update dialog is visible
prerelease = document.getElementById("prerelease").checked;

const latest = releases
.sort((a, b) => {
return Date.parse(b.created_at) - Date.parse(a.created_at);
Expand Down

0 comments on commit 1421a71

Please sign in to comment.