fixed js == vs === as per sabreuse's recommendation

This commit is contained in:
Skud
2013-09-11 14:00:30 +10:00
parent 80b9285727
commit 7a57b4818f

View File

@@ -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