fix eslint

This commit is contained in:
Andrew Bauer 2020-07-08 20:53:12 -05:00
parent cd707571e7
commit cfd57a851f
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);