diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:18 +0000 |
commit | 5da14042f70711ea5cf66e034699730335462f66 (patch) | |
tree | 0f6354ccac934ed87a2d555f45be4c831cf92f4a /src/fluent-bit/lib/monkey/htdocs/js/cbpAnimatedHeader.min.js | |
parent | Releasing debian version 1.44.3-2. (diff) | |
download | netdata-5da14042f70711ea5cf66e034699730335462f66.tar.xz netdata-5da14042f70711ea5cf66e034699730335462f66.zip |
Merging upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fluent-bit/lib/monkey/htdocs/js/cbpAnimatedHeader.min.js')
-rw-r--r-- | src/fluent-bit/lib/monkey/htdocs/js/cbpAnimatedHeader.min.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/fluent-bit/lib/monkey/htdocs/js/cbpAnimatedHeader.min.js b/src/fluent-bit/lib/monkey/htdocs/js/cbpAnimatedHeader.min.js new file mode 100644 index 000000000..b39cb0dcd --- /dev/null +++ b/src/fluent-bit/lib/monkey/htdocs/js/cbpAnimatedHeader.min.js @@ -0,0 +1,11 @@ +/** + * cbpAnimatedHeader.min.js v1.0.0 + * http://www.codrops.com + * + * Licensed under the MIT license. + * http://www.opensource.org/licenses/mit-license.php + * + * Copyright 2013, Codrops + * http://www.codrops.com + */ +var cbpAnimatedHeader=(function(){var b=document.documentElement,g=document.querySelector(".cbp-af-header"),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 |