PageSourceSearch

https://pontefractus.co.uk/wp-content/themes/pbn_template/blocks/headers/header-29/header.js?ver=1790412267

js pontefractus.co.uk collected 2026-09-26 08:45:55 UTC 561 bytes, 16 lines download raw bytes

1const header = document.querySelector('.header');
2const body = document.querySelector('body');
3if (header) {
4    const burgerButton = header.querySelector('.header__burger');
5    const menu = header.querySelector('.header__menu');
6    const cross = header.querySelector('.header__cross-icon')
7    burgerButton.addEventListener('click', () => {
8        menu.classList.toggle('active');
9        body.classList.toggle('lock')
10    })
11    cross.addEventListener('click', () => {
12        menu.classList.toggle('active')
13        body.classList.toggle('lock')
14
15    })
16}

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.