From a47c0a4411825f48e447641094678b15df3b2f74 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 15 Jul 2019 10:03:09 +0100 Subject: [PATCH] Update querystring references --- app/assets/javascripts/edit/id.js.erb | 2 +- app/assets/javascripts/index.js | 4 ++-- app/assets/javascripts/index/contextmenu.js | 4 ++-- app/assets/javascripts/index/directions.js | 6 +++--- app/assets/javascripts/index/new_note.js | 2 +- app/assets/javascripts/index/query.js | 2 +- app/assets/javascripts/index/search.js | 2 +- app/assets/javascripts/leaflet.map.js | 4 ++-- app/assets/javascripts/login.js | 6 +++--- app/assets/javascripts/osm.js.erb | 2 +- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/app/assets/javascripts/edit/id.js.erb b/app/assets/javascripts/edit/id.js.erb index 7755195d4..933031d8c 100644 --- a/app/assets/javascripts/edit/id.js.erb +++ b/app/assets/javascripts/edit/id.js.erb @@ -36,7 +36,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")); } diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index 935889ace..d15ee5859 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -264,7 +264,7 @@ $(document).ready(function () { var iframe = $("