PageSourceSearch

https://geotrek.fr/assets/js/geotrek.js

js geotrek.fr collected 2026-10-01 13:07:19 UTC 578 bytes, 19 lines download raw bytes

1'use strict';
2(function () {
3    function initMobileMenu() {
4        var link = document.querySelector('[data-toggle-menu]');
5        var menu = document.querySelector('[data-menu]');
6
7        link.addEventListener('click', function() {
8            if (menu.classList.contains('menu--toggled')) {
9                menu.classList.remove('menu--toggled');
10            } else {
11                menu.classList.add('menu--toggled');
12            }
13        }, false);
14    }
15
16    document.addEventListener('DOMContentLoaded', function() {
17        initMobileMenu();
18    }, false);
19} ());

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.