From 28fa98eacae0e5c4d9c09f274ad3096441014bcc Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Mon, 30 Aug 2021 01:27:11 +0800 Subject: [PATCH] Remove EventListener --- source/js/next-boot.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/js/next-boot.js b/source/js/next-boot.js index f55ef5141..5f8c3a23b 100644 --- a/source/js/next-boot.js +++ b/source/js/next-boot.js @@ -45,8 +45,6 @@ NexT.boot.registerEvents = function() { }); }); - window.addEventListener('resize', NexT.utils.initSidebarDimension); - window.addEventListener('hashchange', () => { const tHash = location.hash; if (tHash !== '' && !tHash.match(/%\S{2}/)) {