-//= require querystring
+//= require qs/dist/qs
$(document).ready(function () {
- var querystring = require("querystring-component");
var id = $("#id-embed");
if (id.data("key")) {
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"));
}