PageSourceSearch

https://www.lekeland.no/themes/custom/common/annedal/js/header.layout.default.js?tlv2yy

js lekeland.no collected 2026-09-26 20:20:48 UTC 530 bytes, 21 lines download raw bytes

1(function (Drupal, drupalSettings) {
2  'use strict';
3
4  const closeModalInDesktop = (() => {
5    let resizeDebounce;
6    window.addEventListener('resize', () => {
7      clearTimeout(resizeDebounce);
8      resizeDebounce = setTimeout(() => {
9        const menuToggle = document.querySelector('#page_menu_toggle[aria-expanded="true"]');
10        if (!menuToggle) {
11          return;
12        }
13
14        if (window.innerWidth > 992) {
15          menuToggle.click();
16        }
17      }, 500);
18
19    });
20  })();
21})(Drupal, drupalSettings);

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.