diff --git a/js/vertical-one-page.js b/js/vertical-one-page.js index b4817ac..bd6bc5c 100644 --- a/js/vertical-one-page.js +++ b/js/vertical-one-page.js @@ -12,7 +12,7 @@ $( document ).ready(function() { // smoothly scroll to an ID - $( 'a[href*="#"]:not([href="#"])' ).click( function ( e ) { + $( '#main-menu li a' ).click( function ( e ) { var target; // if not on root URL if ( currentPage === blogPage || vars.isSingle ) {