fix eslint errors

pull/2946/head
Isaac Connor 2020-05-22 09:28:15 -04:00
parent 23900cbf01
commit 46a13237b5
1 changed files with 3 additions and 1 deletions

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