removing sticky header changes due to header being broken
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 3 Aug 2016 19:40:57 +0000 (15:40 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 3 Aug 2016 19:40:57 +0000 (15:40 -0400)
js/app.js
js/custom/pageSetup.js

index 4e4b110..03e3aa3 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -50,19 +50,18 @@ $(document).ready(function () {
             this.title = $(this.element).find('img').attr('alt');
         }
     });
-        var body = $("body");
-    var sticky = $(".sticky");
-    $(window).on("scroll", function () {
-        var scrollTop = $(window).scrollTop();
-        if(scrollTop > 0){
-            $(sticky).addClass("fixed");
-            $(body).addClass("f-topbar-fixed");
-        } 
-//        if(scrollTop == 0){
-//            $(sticky).removeClass("fixed");
-//            $(body).removeClass("f-topbar-fixed");
-//        }
-        console.log(scrollTop);
-    });
+//    var body = $("body");
+//    var sticky = $(".sticky");
+//    $(window).on("scroll", function () {
+//        var scrollTop = $(window).scrollTop();
+//        if(scrollTop > 0){
+//            $(sticky).addClass("fixed");
+//            $(body).addClass("f-topbar-fixed");
+//        } 
+////        if(scrollTop == 0){
+////            $(sticky).removeClass("fixed");
+////            $(body).removeClass("f-topbar-fixed");
+////        }
+//    });
     
 });
index 690bd36..0a1fcba 100644 (file)
@@ -41,19 +41,18 @@ $(document).ready(function () {
             this.title = $(this.element).find('img').attr('alt');
         }
     });
-        var body = $("body");
-    var sticky = $(".sticky");
-    $(window).on("scroll", function () {
-        var scrollTop = $(window).scrollTop();
-        if(scrollTop > 0){
-            $(sticky).addClass("fixed");
-            $(body).addClass("f-topbar-fixed");
-        } 
-//        if(scrollTop == 0){
-//            $(sticky).removeClass("fixed");
-//            $(body).removeClass("f-topbar-fixed");
-//        }
-        console.log(scrollTop);
-    });
+//    var body = $("body");
+//    var sticky = $(".sticky");
+//    $(window).on("scroll", function () {
+//        var scrollTop = $(window).scrollTop();
+//        if(scrollTop > 0){
+//            $(sticky).addClass("fixed");
+//            $(body).addClass("f-topbar-fixed");
+//        } 
+////        if(scrollTop == 0){
+////            $(sticky).removeClass("fixed");
+////            $(body).removeClass("f-topbar-fixed");
+////        }
+//    });
     
 });