testing removal of js snippet for sticky header to test back button issue
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 3 May 2019 21:00:09 +0000 (17:00 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 3 May 2019 21:00:09 +0000 (17:00 -0400)
js/app.js
js/custom/stickyHeader.js

index db6e9c1..f2de76b 100644 (file)
--- 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() {
index a96e1e8..af5e263 100644 (file)
@@ -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() {