fix eslint errors
This commit is contained in:
parent
58a015e20a
commit
20870e22fa
|
@ -308,8 +308,7 @@ function pauseClicked() {
|
|||
streamPause();
|
||||
}
|
||||
|
||||
function streamPause( ) {
|
||||
|
||||
function streamPause() {
|
||||
$j('#modeValue').html('Paused');
|
||||
setButtonState( $('pauseBtn'), 'active' );
|
||||
setButtonState( $('playBtn'), 'inactive' );
|
||||
|
|
|
@ -143,8 +143,8 @@ function deleteFilter( element ) {
|
|||
}
|
||||
var escape = document.createElement('textarea');
|
||||
function escapeHTML(html) {
|
||||
escape.textContent = html;
|
||||
return escape.innerHTML;
|
||||
escape.textContent = html;
|
||||
return escape.innerHTML;
|
||||
}
|
||||
|
||||
function parseRows(rows) {
|
||||
|
|
|
@ -208,7 +208,9 @@ window.addEventListener('DOMContentLoaded', function() {
|
|||
el.onmouseover = window[el.getAttribute('data-on-mouseover-this')].bind(el, el);
|
||||
});
|
||||
document.querySelectorAll('div.zoom').forEach(function(el) {
|
||||
el.onclick = function(ev) { window[el.getAttribute('data-on-click')](ev); };
|
||||
el.onclick = function(ev) {
|
||||
window[el.getAttribute('data-on-click')](ev);
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -635,7 +635,7 @@ function getEventCmdResponse( respObj, respText ) {
|
|||
row.removeClass('recent');
|
||||
}
|
||||
row.addClass('updated');
|
||||
} // end foreach event
|
||||
} // end foreach event
|
||||
|
||||
var rows = $(eventListBody).getElements('tr');
|
||||
for ( var i = 0; i < rows.length; i++ ) {
|
||||
|
@ -651,7 +651,7 @@ function getEventCmdResponse( respObj, respText ) {
|
|||
}
|
||||
} else {
|
||||
checkStreamForErrors('getEventCmdResponse', respObj);
|
||||
} // end if objresult == ok
|
||||
} // end if objresult == ok
|
||||
|
||||
var eventCmdTimeout = eventsRefreshTimeout;
|
||||
if ( alarmState == STATE_ALARM || alarmState == STATE_ALERT ) {
|
||||
|
|
Loading…
Reference in New Issue