fix eslint
This commit is contained in:
parent
cd707571e7
commit
cfd57a851f
|
@ -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);
|
||||
|
|
|
@ -14,7 +14,7 @@ function validateForm( form, newUser ) {
|
|||
}
|
||||
if ( errors.length ) {
|
||||
alert(errors.join("\n"));
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue