X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/8030e7b5d6a019618da5874646fc30ee2e15e14b..5bd59e19368d8761a7dbaa5db0e8833174c11f36:/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 3111a579f..7196a779b 100644 --- a/app/assets/javascripts/index/new_note.js +++ b/app/assets/javascripts/index/new_note.js @@ -1,4 +1,4 @@ -OSM.NewNote = function(map) { +OSM.NewNote = function (map) { var noteLayer = map.noteLayer, content = $("#sidebar_content"), page = {}, @@ -126,7 +126,7 @@ OSM.NewNote = function(map) { draggable: true }); - newNote.on("dragstart dragend", function(a) { + newNote.on("dragstart dragend", function (a) { newHalo(newNote.getLatLng(), a.type); }); @@ -135,7 +135,7 @@ OSM.NewNote = function(map) { newNote.on("remove", function () { addNoteButton.removeClass("active"); - }).on("dragstart",function () { + }).on("dragstart", function () { $(newNote).stopTime("removenote"); }).on("dragend", function () { content.find("textarea").focus();