PageSourceSearch

https://www.capstan.be/wp-content/themes/Theme%20Capstan/js/custom.js?ver=7.1.2

js capstan.be collected 2026-10-02 06:00:49 UTC 481 bytes, 16 lines download raw bytes

1let haveSubs = 	document.querySelectorAll('.menu-item-has-children a');
2
3[...haveSubs].map((hasSub)=>{
4   
5    ///
6    hasSub.onclick = (e) => {
7        if(hasSub.classList.contains('active-sub')){
8            hasSub.classList.remove('active-sub');
9        } else {
10            let activeSub = document.querySelector('.active-sub');
11            if(activeSub!=null) activeSub.classList.remove('active-sub');
12            hasSub.classList.add('active-sub');
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.