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