X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a2b9f593f5e55356e99a310929141495b68b1c3b..248d0b863cde44881574ef01b974afeb2cad12e9:/app/assets/javascripts/osm.js.erb 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; }