X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dcfe326f6515cc7aeb9c02b7536e69863c60cd01..9f7ec064e448a745e0ea2615a089f0988215dec6:/app/assets/javascripts/osm.js.erb diff --git a/app/assets/javascripts/osm.js.erb b/app/assets/javascripts/osm.js.erb index 205dae0d1..391ba64ef 100644 --- a/app/assets/javascripts/osm.js.erb +++ b/app/assets/javascripts/osm.js.erb @@ -1,5 +1,6 @@ //= depend_on settings.yml //= depend_on settings.local.yml +//= require querystring OSM = { <% if defined?(PIWIK) %> @@ -138,7 +139,8 @@ OSM = { }, parseHash: function(hash) { - var args = {}; + var querystring = require("querystring-component"), + args = {}; var i = hash.indexOf('#'); if (i < 0) {