diff --git a/js/main.js b/js/main.js index e7034c0..77c8235 100644 --- a/js/main.js +++ b/js/main.js @@ -214,7 +214,7 @@ jQuery(document).ready(function($) { // navigation var OnePageNavigation = function() { var navToggler = $('.site-menu-toggle'); - $("body").on("click", ".main-menu li a[href^='#'], .smoothscroll[href^='#'], .site-mobile-menu .site-nav-wrap li a", function(e) { + $("body").on("click", ".main-menu li a[href^='#'], .smoothscroll[href^='#'], .site-mobile-menu .site-nav-wrap li a[href^='#']", function(e) { e.preventDefault(); var hash = this.hash; @@ -248,4 +248,4 @@ jQuery(document).ready(function($) { }; siteScroll(); -}); \ No newline at end of file +});