From b4ff721fef64366ea21bb0e2a182f394412248a8 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Thu, 16 Feb 2023 11:39:32 +0100 Subject: [PATCH] passive listener --- assets/js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/script.js b/assets/js/script.js index 718c2268..bbd77c51 100644 --- a/assets/js/script.js +++ b/assets/js/script.js @@ -130,5 +130,5 @@ for (i = 0; i < acc.length; i++) { } else { panel.style.maxHeight = panel.scrollHeight + "px"; } - }); + }, {passive: true}); }