X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/68a3df4d53c84508bf443058040379c3a18eb1a7..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 392bf5e0c..d350b2896 100644 --- a/app/assets/javascripts/osm.js.erb +++ b/app/assets/javascripts/osm.js.erb @@ -115,6 +115,10 @@ OSM = { hash = querystring.parse(hash); + if (hash.map === undefined) { + return false; + } + var args = hash.map.split("/"); if (args.length !== 3) { return false;