From 34da49097c6e556b77cdd3a80c992ebb761c91ed Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Fri, 3 May 2019 17:00:09 -0400 Subject: [PATCH] testing removal of js snippet for sticky header to test back button issue --- js/app.js | 16 ++++++++-------- js/custom/stickyHeader.js | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/js/app.js b/js/app.js index db6e9c1..f2de76b 100644 --- a/js/app.js +++ b/js/app.js @@ -219,14 +219,14 @@ $(document).ready(function () { },500); }); - //Smooth Scrolling Using Navigation Menu - $('a[href*="#^[a-zA-Z]*$"]').on('click', function(e){ - console.log($(this)) - $('html,body').animate({ - scrollTop: $($(this).attr('href')).offset().top - 100 - },500); - e.preventDefault(); - }); + // //Smooth Scrolling Using Navigation Menu + // $('a[href*="#^[a-zA-Z]*$"]').on('click', function(e){ + // console.log($(this)) + // $('html,body').animate({ + // scrollTop: $($(this).attr('href')).offset().top - 100 + // },500); + // e.preventDefault(); + // }); //Toggle Menu $('#menu-toggle').on('click', function() { diff --git a/js/custom/stickyHeader.js b/js/custom/stickyHeader.js index a96e1e8..af5e263 100644 --- a/js/custom/stickyHeader.js +++ b/js/custom/stickyHeader.js @@ -27,14 +27,14 @@ jQuery(function($){ },500); }); - //Smooth Scrolling Using Navigation Menu - $('a[href*="#^[a-zA-Z]*$"]').on('click', function(e){ - console.log($(this)) - $('html,body').animate({ - scrollTop: $($(this).attr('href')).offset().top - 100 - },500); - e.preventDefault(); - }); + // //Smooth Scrolling Using Navigation Menu + // $('a[href*="#^[a-zA-Z]*$"]').on('click', function(e){ + // console.log($(this)) + // $('html,body').animate({ + // scrollTop: $($(this).attr('href')).offset().top - 100 + // },500); + // e.preventDefault(); + // }); //Toggle Menu $('#menu-toggle').on('click', function() { -- 2.17.1