eslint fixes

This commit is contained in:
Isaac Connor 2020-07-30 12:15:05 -04:00
parent 8e37efaa7a
commit 6a4ce29bce
3 changed files with 9 additions and 9 deletions

View File

@ -297,8 +297,8 @@ function changeSize() {
console.log("Error finding frame for " + monitor.id);
continue;
}
monitor_frame.css('width', ( width ? width+'px' : 'auto') );
monitor_frame.css('height', ( height ? height+'px' : 'auto') );
monitor_frame.css('width', ( width ? width+'px' : 'auto'));
monitor_frame.css('height', ( height ? height+'px' : 'auto'));
/*Stream could be an applet so can't use moo tools*/
var streamImg = $('liveStream'+monitor.id);

View File

@ -14,7 +14,7 @@ function validateForm( form, newUser ) {
}
if ( errors.length ) {
alert(errors.join("\n"));
return false;
return false;
}
return true;
}

View File

@ -450,9 +450,9 @@ function drawZonePoints() {
'name': 'newZone[Points]['+i+'][x]',
'value': zone['Points'][i].x,
'type': 'number',
'min' : '0',
'max' : maxX,
'data-point-index' : i
'min': '0',
'max': maxX,
'data-point-index': i
});
input.oninput = window['updateX'].bind(input, input);
input.inject(cell);
@ -464,9 +464,9 @@ function drawZonePoints() {
'name': 'newZone[Points]['+i+'][y]',
'value': zone['Points'][i].y,
'type': 'number',
'min' : '0',
'max' : maxY,
'data-point-index' : i
'min': '0',
'max': maxY,
'data-point-index': i
} );
input.oninput = window['updateY'].bind(input, input);
input.inject(cell);