PageSourceSearch

https://wohlfordlake.com/Areas/Facilities/Assets/Scripts/FacilityDetails/FacilityDetailsSidebarMap.js

js wohlfordlake.com collected 2026-10-08 14:55:58 UTC 1,023 bytes, 47 lines download raw bytes

1function FacilityDetailsSidebarMap() {
2	$.ajaxSetup({ cache: false });
3	var self = this;
4
5	self.bindControl = function (id, whatToDo, returnFalse, passControl) {
6		$(id).keypress(function () {
7			$(this).click();
8		});
9		$(id).click(function () {
10			if (passControl) {
11				whatToDo(this);
12			}
13			else {
14				whatToDo();
15			}
16			if (returnFalse) {
17				return false;
18			}
19			else {
20				return true;
21			}
22		});
23	};
24
25	self.initialize = function () {
26		self.bindControl('#getDirectionsButton', self.bindDirectionsButton, true, false);
27		self.bindControl('.linkGoogle', self.flipDirectionsMiniPopup, false, false);
28	};
29
30	self.bindDirectionsButton = function () {
31		if ($('.linkGoogle') != null && $('.linkGoogle').length == 1) {
32			$('.linkGoogle')[0].click();
33		}
34		else {
35			self.flipDirectionsMiniPopup();
36		}
37	};
38
39	self.flipDirectionsMiniPopup = function () {
40		if ($('#mapPopout').is(':visible')) {
41			$('#mapPopout').hide();
42		}
43		else {
44			$('#mapPopout').show();
45		}
46	};
47}

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.