]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/edit/id.js.erb
Merge remote-tracking branch 'upstream/pull/2786'
[rails.git] / app / assets / javascripts / edit / id.js.erb
index 933031d8c5d3c4d253e1cfc3e86f383af96ff9c1..8ab9425e23c051c340957ff5b66f3d814591a8fe 100644 (file)
@@ -1,3 +1,5 @@
+//= require qs/dist/qs
+
 $(document).ready(function () {
   var id = $("#id-embed");
 
@@ -36,7 +38,7 @@ $(document).ready(function () {
       params.gpx = hashParams.gpx;
     }
 
-    id.attr("src", id.data("url") + "#" + qs.stringify(params));
+    id.attr("src", id.data("url") + "#" + Qs.stringify(params));
   } else {
     alert(I18n.t("site.edit.id_not_configured"));
   }