Fix eslint

pull/3477/head
Isaac Connor 2022-04-28 09:17:11 -04:00
parent fa19356dbd
commit 843231cb92
1 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ function changeSize() {
monitor_frame.css('height', height);
if (scale > 100) scale = 100;
if (scale <= 0) scale = 100;
$j('#scale').val('0');
setCookie('zmCycleScale', '0', 3600);
setCookie('zmCycleWidth', width, 3600);
@ -193,7 +193,7 @@ function applyScale() {
}
monitor_frame.width(newWidth);
monitor_frame.height(newHeight);
let monitor_image = $j('#imageFeed'+monitor.id + ' img');
const monitor_image = $j('#imageFeed'+monitor.id + ' img');
monitor_image.width('100%');
monitor_image.height('auto');