From ff75a19e069a9f5a1596e28646603b04fd5b01ee Mon Sep 17 00:00:00 2001 From: Stef Kariotidis Date: Wed, 7 Dec 2016 13:52:27 +0200 Subject: [PATCH] fixes #171 --- js/vertical-one-page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) {