PageSourceSearch

https://www.easykeeper.com/wp-content/themes/easykeeper/_assets/js/sticky-header.js?ver=1

js easykeeper.com collected 2026-10-05 18:51:40 UTC 719 bytes, 27 lines download raw bytes

1var wrap = jQuery(".page-header");
2
3function checkScrollStatus (){
4  if (jQuery( window ).scrollTop() > 50) {
5    wrap.addClass("scrolled");
6  } else {
7    wrap.removeClass("scrolled");
8  }
9}
10
11if(jQuery('.content > .slider:first-child').length) {
12  wrap.addClass('content-slider');
13}
14if (wrap.find('.slider').length || jQuery('.content > .slider:first-child').length) {
15  jQuery( window ).scroll(function() {
16    checkScrollStatus();
17  });
18}
19else {
20  wrap.addClass("scrolled");
21}
22//In case of anchor link or reload while scrolled check scroll status on load.
23jQuery(document).ready( function () {
24  if (wrap.find('.slider').length || jQuery('.content > .slider:first-child').length) {
25    checkScrollStatus ();
26  }
27});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.