PageSourceSearch

https://highschoolgolf.org/wp-content/themes/shapely/assets/js/highschool.js

js highschoolgolf.org collected 2026-10-01 12:11:48 UTC 672 bytes, 20 lines download raw bytes

1var mj = jQuery.noConflict();
2mj(function() {
3  console.log("hello");
4  mj('#state-selected').change(function() {
5    console.log(mj(this).val());
6    var url = location.href;
7    location.href = "#" + mj(this).val();
8    history.replaceState(null,null,url);
9  });
10});
11
12jQuery( document ).ready(function() {
13	const currentYear = new Date().getFullYear()
14	const currentDate = new Date()
15	const date = new Date(currentYear, 7, 1, 0, 0, 0, 0);
16    const year = currentDate > date ? currentYear : currentYear - 1
17
18	jQuery('.mega-menu-link-boys a').text(year + ' - ' + (year + 1) + ' Boys' )
19    jQuery('.mega-menu-link-girls a').text(year + ' - ' + (year + 1) + ' Girls' )
20});

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.