eslint fixes
This commit is contained in:
parent
8e37efaa7a
commit
6a4ce29bce
|
@ -297,8 +297,8 @@ function changeSize() {
|
||||||
console.log("Error finding frame for " + monitor.id);
|
console.log("Error finding frame for " + monitor.id);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
monitor_frame.css('width', ( width ? width+'px' : 'auto') );
|
monitor_frame.css('width', ( width ? width+'px' : 'auto'));
|
||||||
monitor_frame.css('height', ( height ? height+'px' : 'auto') );
|
monitor_frame.css('height', ( height ? height+'px' : 'auto'));
|
||||||
|
|
||||||
/*Stream could be an applet so can't use moo tools*/
|
/*Stream could be an applet so can't use moo tools*/
|
||||||
var streamImg = $('liveStream'+monitor.id);
|
var streamImg = $('liveStream'+monitor.id);
|
||||||
|
|
|
@ -14,7 +14,7 @@ function validateForm( form, newUser ) {
|
||||||
}
|
}
|
||||||
if ( errors.length ) {
|
if ( errors.length ) {
|
||||||
alert(errors.join("\n"));
|
alert(errors.join("\n"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -450,9 +450,9 @@ function drawZonePoints() {
|
||||||
'name': 'newZone[Points]['+i+'][x]',
|
'name': 'newZone[Points]['+i+'][x]',
|
||||||
'value': zone['Points'][i].x,
|
'value': zone['Points'][i].x,
|
||||||
'type': 'number',
|
'type': 'number',
|
||||||
'min' : '0',
|
'min': '0',
|
||||||
'max' : maxX,
|
'max': maxX,
|
||||||
'data-point-index' : i
|
'data-point-index': i
|
||||||
});
|
});
|
||||||
input.oninput = window['updateX'].bind(input, input);
|
input.oninput = window['updateX'].bind(input, input);
|
||||||
input.inject(cell);
|
input.inject(cell);
|
||||||
|
@ -464,9 +464,9 @@ function drawZonePoints() {
|
||||||
'name': 'newZone[Points]['+i+'][y]',
|
'name': 'newZone[Points]['+i+'][y]',
|
||||||
'value': zone['Points'][i].y,
|
'value': zone['Points'][i].y,
|
||||||
'type': 'number',
|
'type': 'number',
|
||||||
'min' : '0',
|
'min': '0',
|
||||||
'max' : maxY,
|
'max': maxY,
|
||||||
'data-point-index' : i
|
'data-point-index': i
|
||||||
} );
|
} );
|
||||||
input.oninput = window['updateY'].bind(input, input);
|
input.oninput = window['updateY'].bind(input, input);
|
||||||
input.inject(cell);
|
input.inject(cell);
|
||||||
|
|
Loading…
Reference in New Issue