X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9f560df39d21a82b7c34e203c555da7fab01a3ae..7599f98957334d1924550205f7ba12a726de7eb0:/app/assets/javascripts/osm.js.erb diff --git a/app/assets/javascripts/osm.js.erb b/app/assets/javascripts/osm.js.erb index 33f190412..e8428da3a 100644 --- a/app/assets/javascripts/osm.js.erb +++ b/app/assets/javascripts/osm.js.erb @@ -23,7 +23,7 @@ OSM = { mapParams: function (search) { var params = {}, mapParams = {}, loc; - search = (search || window.location.search).replace('?', '').split('&'); + search = (search || window.location.search).replace('?', '').split(/&|;/); for (var i = 0; i < search.length; ++i) { var pair = search[i],