X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9018d1af07c53b03bf8caf0480b931dc25f57147..fe7996586927f46f048625fe38ccebc43415d5dd:/app/assets/javascripts/osm.js.erb diff --git a/app/assets/javascripts/osm.js.erb b/app/assets/javascripts/osm.js.erb index 529ac3bea..3e2e7c866 100644 --- a/app/assets/javascripts/osm.js.erb +++ b/app/assets/javascripts/osm.js.erb @@ -146,7 +146,7 @@ OSM = { return args; } - hash = Qs.parse(hash.substr(i + 1)); + hash = Qs.parse(hash.slice(i + 1)); var map = (hash.map || '').split('/'), zoom = parseInt(map[0], 10),