PageSourceSearch

https://portodabarrabuzios.com.br/js/menu.js

js portodabarrabuzios.com.br collected 2026-10-08 05:03:22 UTC 505 bytes, 16 lines download raw bytes

1function inicializarMenu() {
2    const menuIcon = document.getElementById("menu-icon");
3    const navList = document.querySelector(".navlist");
4
5    if (menuIcon && navList) {
6        menuIcon.addEventListener("click", function () {
7            navList.classList.toggle("active");
8        });
9
10        document.querySelectorAll(".navlist a").forEach(item => {
11            item.addEventListener("click", function () {
12                navList.classList.remove("active");
13            });
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.