fix eslint errors

This commit is contained in:
Isaac Connor 2020-05-29 13:28:33 -04:00
parent 58a015e20a
commit 20870e22fa
4 changed files with 8 additions and 7 deletions

View File

@ -308,8 +308,7 @@ function pauseClicked() {
streamPause();
}
function streamPause( ) {
function streamPause() {
$j('#modeValue').html('Paused');
setButtonState( $('pauseBtn'), 'active' );
setButtonState( $('playBtn'), 'inactive' );

View File

@ -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);
};
});
});