Skip to content

Commit

Permalink
Fixed #14
Browse files Browse the repository at this point in the history
  • Loading branch information
tranduyhung committed Jun 15, 2018
1 parent 3b552fd commit f33b5cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/fixed-responsive-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -1779,6 +1779,7 @@ window.smoothScroll = (function (window, document, undefined) {
};

// Select the right navigation item when tapping the logo
/*
document.querySelector(".logo a").addEventListener("click", function (e) {
e.preventDefault();
wasNavigationTapped = true;
Expand All @@ -1797,6 +1798,7 @@ window.smoothScroll = (function (window, document, undefined) {
// Clear wasNavigationTapped check
clearTapCheck();
}, false);
*/

// When a navigation item is tapped, select it and begin scrolling
forEach(links, function (i, el) {
Expand Down

0 comments on commit f33b5cc

Please sign in to comment.