X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a2b9f593f5e55356e99a310929141495b68b1c3b..be931d0955fbd2379b1ffedb9abd32b1e8cb5915:/app/assets/javascripts/osm.js.erb?ds=sidebyside diff --git a/app/assets/javascripts/osm.js.erb b/app/assets/javascripts/osm.js.erb index c41f040f3..d350b2896 100644 --- a/app/assets/javascripts/osm.js.erb +++ b/app/assets/javascripts/osm.js.erb @@ -115,7 +115,7 @@ OSM = { hash = querystring.parse(hash); - if (!(map in hash)) { + if (hash.map === undefined) { return false; }