Skip to content

Commit

Permalink
Remove EventListener
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Aug 29, 2021
1 parent 2a55ee4 commit 28fa98e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/js/next-boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}/)) {
Expand Down

0 comments on commit 28fa98e

Please sign in to comment.