Fix eslint

pull/4152/head
Isaac Connor 2024-09-25 15:17:59 -04:00
parent 3a58ca5ad3
commit 0f2201d538
1 changed files with 2 additions and 1 deletions

View File

@ -1084,8 +1084,9 @@ function initPage() {
changedMonitors.slice().reverse().forEach(function(item, index, object) {
changedMonitors.splice(object.length - 1 - index, 1);
// When changing monitor, this may fire after we have replace the monitor html
if (document.getElementById('monitor'+item))
if (document.getElementById('monitor'+item)) {
monitorsSetScale(item);
}
});
}
}, 100);