PageSourceSearch

https://ospi.k12.wa.us/themes/drupalbase_custom/assets/js/primarynav.js?tm2wj1

js ospi.k12.wa.us collected 2026-10-01 10:33:27 UTC 1,525 bytes, 41 lines download raw bytes

1// Primary navigation boostrap override for hover
2(function ($, Drupal) {
3    $(document).ready(function () {
4  
5      $('#primary-nav li.dropdown').each(function () {
6        var link = $(this);
7
8        link.children('a.dropdown').on( "click", function(e) {
9            var urlto = $(this).attr('href');
10            window.location.href = urlto;
11            e.preventDefault();
12        });
13
14        link.on( "mouseenter", function() {
15            $('#primary-nav li.dropdown').attr('aria-expanded', 'false').children('ul.dropdown-menu').removeClass('show').removeAttr('data-bs-popper');
16            link.addClass('show').attr('aria-expanded', 'true');
17            link.children('ul.dropdown-menu').addClass('show').attr('data-bs-popper', 'static');
18        });
19
20        link.on( "mouseleave", function() {
21            link.removeClass('show').attr('aria-expanded', 'false');
22            link.children('ul.dropdown-menu').removeClass('show').removeAttr('data-bs-popper');
23        });
24
25        link.children('a.dropdown').on( "focus ", function() {
26            $('#primary-nav li.dropdown').attr('aria-expanded', 'false').children('ul.dropdown-menu').removeClass('show').removeAttr('data-bs-popper');
27            link.addClass('show').attr('aria-expanded', 'true');
28            link.children('ul.dropdown-menu').addClass('show').attr('data-bs-popper', 'static').click();
29        });
30  
31
32        
33
34      });
35
36      $('.modal').on('shown.bs.modal', function() {
37        $(this).focus();
38      });
39
40    });
41  })(jQuery, Drupal);

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.