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' );
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue