fix eslint
This commit is contained in:
parent
70bef9f22a
commit
410b9840d1
|
@ -99,7 +99,7 @@ function changeScale() {
|
||||||
var newWidth;
|
var newWidth;
|
||||||
var newHeight;
|
var newHeight;
|
||||||
|
|
||||||
// Always turn it off, we will re-add it below. I don't know if you can add a callback multiple
|
// Always turn it off, we will re-add it below. I don't know if you can add a callback multiple
|
||||||
// times and what the consequences would be
|
// times and what the consequences would be
|
||||||
$j(window).off('resize', endOfResize); //remove resize handler when Scale to Fit is not active
|
$j(window).off('resize', endOfResize); //remove resize handler when Scale to Fit is not active
|
||||||
if ( scale == '0' || scale == 'auto' ) {
|
if ( scale == '0' || scale == 'auto' ) {
|
||||||
|
@ -126,7 +126,7 @@ function changeScale() {
|
||||||
} else {
|
} else {
|
||||||
console.error('No element found for liveStream'+monitorId);
|
console.error('No element found for liveStream'+monitorId);
|
||||||
}
|
}
|
||||||
} // end function changeScale
|
} // end function changeScale
|
||||||
|
|
||||||
function setAlarmState( currentAlarmState ) {
|
function setAlarmState( currentAlarmState ) {
|
||||||
alarmState = currentAlarmState;
|
alarmState = currentAlarmState;
|
||||||
|
|
Loading…
Reference in New Issue