PageSourceSearch

https://hidur.co.il/js/public.menu.js

js hidur.co.il collected 2026-10-06 12:54:15 UTC 470 bytes, 14 lines download raw bytes

1var mainMenu = {
2  init: function (togleSelector, activeClassName) {
3    const menuDropdowns = document.querySelectorAll(togleSelector);
4
5    let toggleClass = function (event) {
6      this.parentNode.classList.toggle(activeClassName);
7      this.setAttribute('aria-expanded', this.getAttribute('aria-expanded') === 'true' ? 'false' : 'true')
8    };
9
10    menuDropdowns.forEach((e) => {
11      e.addEventListener("click", toggleClass.bind(e));
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.