From 5cc1c55ff11871f07673ae777b1e0f27ea4a9146 Mon Sep 17 00:00:00 2001 From: Michael Writhe Date: Thu, 14 Apr 2011 08:32:49 -0600 Subject: [PATCH] regions toggle --- web_assets/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_assets/functions.js b/web_assets/functions.js index c109603..e2d1123 100644 --- a/web_assets/functions.js +++ b/web_assets/functions.js @@ -172,7 +172,7 @@ function drawMapControls() { items.push({"label": item.label, "checked": item.checked, "action": function(n, l, checked) { jQuery.each(regionCollection[l], function(i,elem) { - elem.setMap(checked ? map : null); + elem.setMap(checked ? map : null); // Thanks to LeastWeasel for this line! }); }}); }