From 7a57b4818ffec598089246d11dcfe69aa259bb64 Mon Sep 17 00:00:00 2001 From: Skud Date: Wed, 11 Sep 2013 14:00:30 +1000 Subject: [PATCH] fixed js == vs === as per sabreuse's recommendation --- app/assets/javascripts/places.js.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/places.js.erb b/app/assets/javascripts/places.js.erb index a31aad016..b1fa3563a 100644 --- a/app/assets/javascripts/places.js.erb +++ b/app/assets/javascripts/places.js.erb @@ -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