X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a7092491b069de43bb8d8c30d3526e7095c5cc98..c8e21c409c9bec446f0caa2526d5b07861bb3299:/app/assets/javascripts/index/new_note.js diff --git a/app/assets/javascripts/index/new_note.js b/app/assets/javascripts/index/new_note.js index 9d68ab65c..b1c07bbbf 100644 --- a/app/assets/javascripts/index/new_note.js +++ b/app/assets/javascripts/index/new_note.js @@ -1,8 +1,6 @@ -//= require querystring +//= require qs/dist/qs OSM.NewNote = function (map) { - var querystring = require("querystring-component"); - var noteLayer = map.noteLayer, content = $("#sidebar_content"), page = {}, @@ -111,7 +109,7 @@ OSM.NewNote = function (map) { map.addLayer(noteLayer); - var params = querystring.parse(path.substring(path.indexOf("?") + 1)); + var params = Qs.parse(path.substring(path.indexOf("?") + 1)); var markerLatlng; if (params.lat && params.lon) {