Skip to content

Commit

Permalink
fix test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
andreyshulga1cs committed Feb 11, 2024
1 parent 3caa22a commit 35ad130
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/utils/addEventListenerAll.js
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 35ad130

Please sign in to comment.