PageSourceSearch

https://mtnwestrealty.com/wp-content/themes/prime-location/lib/js/mobile-nav-menu-fix.js?ver=1

js mtnwestrealty.com collected 2026-10-03 00:56:50 UTC 672 bytes, 15 lines download raw bytes

1document.addEventListener("DOMContentLoaded", function(event) {
2	document.querySelectorAll('.top-bar-section ul .menu-item-has-children').forEach(function(element){
3		var destinationURL = element.childNodes[0].getAttribute('href')
4		// Check if href is empty, create link overlay if there is a value
5		if (destinationURL !== null && destinationURL !== "" && destinationURL !== "#") {
6			var linkOverlay = document.createElement("a")
7			linkOverlay.className = 'mobile-nav-link-overlay'
8			linkOverlay.href = destinationURL
9			linkOverlay.onclick = function (event) {
10				event.stopPropagation()
11			}
12			element.insertBefore(linkOverlay, element.childNodes[0])
13		}
14	})
15});

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.