From a8df02525f78349120608c2435dbce6d323d3487 Mon Sep 17 00:00:00 2001 From: Joy Lazari Date: Sun, 22 Feb 2015 17:12:24 +0100 Subject: [PATCH] Class name fixed Class name fixed to same name used in unminified js version --- js/cbpAnimatedHeader.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/cbpAnimatedHeader.min.js b/js/cbpAnimatedHeader.min.js index 58743a6..18d66a3 100644 --- a/js/cbpAnimatedHeader.min.js +++ b/js/cbpAnimatedHeader.min.js @@ -8,4 +8,4 @@ * Copyright 2013, Codrops * http://www.codrops.com */ -var cbpAnimatedHeader=(function(){var b=document.documentElement,g=document.querySelector(".navbar-default"),e=false,a=300;function f(){window.addEventListener("scroll",function(h){if(!e){e=true;setTimeout(d,250)}},false)}function d(){var h=c();if(h>=a){classie.add(g,"cbp-af-header-shrink")}else{classie.remove(g,"cbp-af-header-shrink")}e=false}function c(){return window.pageYOffset||b.scrollTop}f()})(); \ No newline at end of file +var cbpAnimatedHeader=(function(){var b=document.documentElement,g=document.querySelector(".navbar-default"),e=false,a=300;function f(){window.addEventListener("scroll",function(h){if(!e){e=true;setTimeout(d,250)}},false)}function d(){var h=c();if(h>=a){classie.add(g,"navbar-shrink")}else{classie.remove(g,"navbar-shrink")}e=false}function c(){return window.pageYOffset||b.scrollTop}f()})();