diff --git a/src/js/components/scroll.js b/src/js/components/scroll.js
index <HASH>..<HASH> 100644
--- a/src/js/components/scroll.js
+++ b/src/js/components/scroll.js
@@ -13,7 +13,7 @@ function smoothScroll(el, to, duration) {
     }, 10);
 }
 
-$('a[href*="#"]').on('click', (e) => {
+$(window).on('click', 'a[href*="#"]', e => {
     let scrollDuration = 300;
     let targetName     = $(e.currentTarget).attr('href').split('#');
     let targetSelector = 'a[name="' + targetName[1] + '"]';
triggering smooth scrolling for all links