mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-21 06:24:22 -04:00
fixed js == vs === as per sabreuse's recommendation
This commit is contained in:
1 parent
80b9285727
commit
7a57b4818f
1 file changed
+1
-1
@@ -1,7 +1,7 @@
|
||||
places_base_path = "/places"
|
||||
things_to_map = location.pathname + '.json'
|
||||
|
||||
if (location.pathname == places_base_path) { //places index page
|
||||
if (location.pathname === places_base_path) { //places index page
|
||||
map = L.map('map').setView([0.0, -0.0], 2);
|
||||
showMap(map);
|
||||
} else { // specific place page
|
||||
|
||||
Reference in new issue
Block a user