correct log, code docs

This commit is contained in:
Isaac Connor 2020-09-07 13:29:36 -04:00
parent 74dc8af76f
commit b34c6dcfc2
1 changed files with 2 additions and 2 deletions

View File

@ -161,7 +161,7 @@ function changeScale() {
newWidth = eventData.Width * scale / SCALE_BASE;
newHeight = eventData.Height * scale / SCALE_BASE;
}
if ( !(streamMode == 'stills') ) {
if ( streamMode != 'stills' ) {
eventViewer.width(newWidth);
} // stills handles its own width
eventViewer.height(newHeight);
@ -181,7 +181,7 @@ function changeScale() {
Cookie.write('zmEventScale'+eventData.MonitorId, scale, {duration: 10*365});
Cookie.dispose('zmEventScaleAuto');
}
}
} // end function changeScale
function changeReplayMode() {
var replayMode = $('replayMode').get('value');