PageSourceSearch

https://www.themamagers.gr/content/js/menu/searchMenu.js

js themamagers.gr collected 2026-09-26 00:18:05 UTC 516 bytes, 24 lines download raw bytes

1// searchMenu.js
2
3// Variable to keep track of the menu state
4let isMenuOpen = false;
5
6// Function to open the menu
7function openSearchMenu(event, menu) {
8  event.stopPropagation();
9  if (!isMenuOpen) {
10    menu.classList.add("open");
11    isMenuOpen = true;
12  }
13}
14
15// Function to close the menu
16function closeSearchMenu(event, menu) {
17  event.stopPropagation();
18  if (isMenuOpen) {
19    menu.classList.remove("open");
20    isMenuOpen = false;
21  }
22}
23
24export { openSearchMenu, closeSearchMenu };

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.