PageSourceSearch

https://www.townsvilleairport.com.au/.resources/gca/webresources/js/footer~2026-09-08-00-02-10-000~cache.js

js townsvilleairport.com.au collected 2026-09-25 01:04:38 UTC 682 bytes, 19 lines download raw bytes

1// Add open attribute to the first details element and ensure proper margin classes
2document.addEventListener('DOMContentLoaded', function () {
3  const detailsElements = document.querySelectorAll('.mobile-nav-details');
4
5  if (detailsElements.length > 0) {
6    // Set the first element to be open
7    detailsElements[0].setAttribute('open', '');
8
9    // Add mb-4 class to all elements except the last one
10    detailsElements.forEach((element, index) => {
11      if (index < detailsElements.length - 1) {
12        element.classList.add('mb-5');
13      } else {
14        // Ensure the last element doesn't have mb-4 class
15        element.classList.remove('mb-5');
16      }
17    });
18  }
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.