]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/new_note.js
Merge remote-tracking branch 'upstream/pull/1926'
[rails.git] / app / assets / javascripts / index / new_note.js
index 7196a779bf5ef2d1020c1e51c41d6c8c5f9a211d..9d68ab65c8fc62b2a4eb2bb1147bb3f2742b0e31 100644 (file)
@@ -1,10 +1,14 @@
+//= require querystring
+
 OSM.NewNote = function (map) {
 OSM.NewNote = function (map) {
+  var querystring = require("querystring-component");
+
   var noteLayer = map.noteLayer,
   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({
 
   var noteIcons = {
     "new": L.icon({