X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5bd59e19368d8761a7dbaa5db0e8833174c11f36..85cb71702e663d0588e6e4db86f10cec0eeaf993:/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 7196a779b..9d68ab65c 100644 --- a/app/assets/javascripts/index/new_note.js +++ b/app/assets/javascripts/index/new_note.js @@ -1,10 +1,14 @@ +//= require querystring + OSM.NewNote = function (map) { + var querystring = require("querystring-component"); + var noteLayer = map.noteLayer, - content = $("#sidebar_content"), - page = {}, - addNoteButton = $(".control-note .control-button"), - newNote, - halo; + content = $("#sidebar_content"), + page = {}, + addNoteButton = $(".control-note .control-button"), + newNote, + halo; var noteIcons = { "new": L.icon({