PageSourceSearch

https://www.steptics.com/wp-content/themes/steptics/components/header/scripts.js?ver=1706694099

js steptics.com collected 2026-10-08 12:07:17 UTC 595 bytes, 14 lines download raw bytes

1document.addEventListener('nt:load', function() {
2    var headerMobileToggle = document.querySelector('.header-mobile__toggle');
3    headerMobileToggle.addEventListener('click', function() {
4        document.body.classList.toggle('header--active');
5    });
6
7    // clicking link in mobile menu closes menu
8    var headerMobileLinks = document.querySelectorAll('.header-mobile__menu a');
9    for (var i = 0; i < headerMobileLinks.length; i++) {
10        headerMobileLinks[i].addEventListener('click', function() {
11            document.body.classList.remove('header--active');
12        });
13    }
14});

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.