fix eslint missing {}

This commit is contained in:
Isaac Connor 2019-03-05 11:02:09 -05:00
parent 76ee31bf68
commit 8053f61a08
1 changed files with 4 additions and 4 deletions

View File

@ -300,9 +300,9 @@ function changeScale() {
var scale = $('scale').get('value'); var scale = $('scale').get('value');
$('width').set('value', 'auto'); $('width').set('value', 'auto');
$('height').set('value', 'auto'); $('height').set('value', 'auto');
Cookie.write('zmMontageScale', scale, { duration: 10*365 }); Cookie.write('zmMontageScale', scale, {duration: 10*365});
Cookie.write('zmMontageWidth', '', { duration: 10*365 }); Cookie.write('zmMontageWidth', '', {duration: 10*365});
Cookie.write('zmMontageHeight', '', { duration: 10*365 }); Cookie.write('zmMontageHeight', '', {duration: 10*365});
if ( !scale ) { if ( !scale ) {
selectLayout('#zmMontageLayout'); selectLayout('#zmMontageLayout');
return; return;
@ -323,7 +323,7 @@ function changeScale() {
} }
// We don't set the frame height because it has the status bar as well // We don't set the frame height because it has the status bar as well
//if ( height ) { //if ( height ) {
////monitor_frame.css('height', height+'px'); ////monitor_frame.css('height', height+'px');
//} //}
/*Stream could be an applet so can't use moo tools*/ /*Stream could be an applet so can't use moo tools*/
var streamImg = $j('#liveStream'+monitor.id )[0]; var streamImg = $j('#liveStream'+monitor.id )[0];