From 35ad13027d9048af924a6cdfa4ab4daad3394b5d Mon Sep 17 00:00:00 2001 From: Andrey Shulga Date: Sun, 11 Feb 2024 15:13:40 +0200 Subject: [PATCH] fix test issue --- src/utils/addEventListenerAll.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 -