diff --git a/src/utils/addEventListenerAll.js b/src/utils/addEventListenerAll.js index 255e8360e..09e7ac5c4 100644 --- a/src/utils/addEventListenerAll.js +++ b/src/utils/addEventListenerAll.js @@ -1,7 +1,5 @@ export default (elems, type, callback) => { - elems.forEach(elem => { - elem.addEventListener(type, callback) - }); + elems.forEach((elem) => { + elem.addEventListener(type, callback); + }); }; -// Useful comment -