PageSourceSearch

https://www.cjsbarandgrill.com/wp-content/themes/coral-reef-parent/assets/js/sticky-nav.js

js cjsbarandgrill.com collected 2026-10-04 10:44:34 UTC 460 bytes, 19 lines download raw bytes

1(function($) {
2	$('body').addClass('sticky');
3	function scrollHeader() {
4		let windowPos = $(window).scrollTop();
5		let headerHeight = $('#primary-header').outerHeight();
6		if(window.innerWidth > 991) {
7			if(windowPos > headerHeight) {
8				$('body').addClass('scrolled');
9			} else {
10				$('body').removeClass('scrolled');
11			}
12		} else {
13			$('body').removeClass('scrolled')
14		}
15	}
16	$(window).on('load scroll', function(){
17		scrollHeader();
18	});
19})(jQuery);

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.