X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6dd451c7ee48663d6b0753bfe8b4da2060c4cf60..04dcea6f1fecf69893e6c3cb271396d817beaa87:/app/assets/javascripts/edit/id.js.erb diff --git a/app/assets/javascripts/edit/id.js.erb b/app/assets/javascripts/edit/id.js.erb index 23726519e..8ab9425e2 100644 --- a/app/assets/javascripts/edit/id.js.erb +++ b/app/assets/javascripts/edit/id.js.erb @@ -1,7 +1,6 @@ -//= require querystring +//= require qs/dist/qs $(document).ready(function () { - var querystring = require("querystring-component"); var id = $("#id-embed"); if (id.data("key")) { @@ -39,7 +38,7 @@ $(document).ready(function () { params.gpx = hashParams.gpx; } - id.attr("src", id.data("url") + "#" + querystring.stringify(params)); + id.attr("src", id.data("url") + "#" + Qs.stringify(params)); } else { alert(I18n.t("site.edit.id_not_configured")); }