From 48047ad7473b77ddafc3b9e06aef32125f2f45fb Mon Sep 17 00:00:00 2001 From: Akib Mohaimenur Rahman Date: Fri, 12 Mar 2021 17:01:12 -0500 Subject: [PATCH] Fix buggy scroll --- events/events.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/events.html b/events/events.html index 7b5a1b6c3b..5f6fb31a33 100644 --- a/events/events.html +++ b/events/events.html @@ -76,7 +76,7 @@

} } } - window.addEventListener('resize',handleScreenResize) + document.querySelector('.flex-page-card').addEventListener('resize',handleScreenResize) function handleScreenResize(){ if(document.body.clientWidth>767){ const columns = document.querySelectorAll('.mobile-dropdown');