From: Anton Khorev Date: Wed, 13 Nov 2024 12:54:20 +0000 (+0300) Subject: Remove unused timer from new note js controller X-Git-Tag: live~22^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/f6141277d5a727fdec5c7bb26e35b17b1e6f495d?hp=60426328065bd897d325fed6ce91a8e66e3ab38d Remove unused timer from new note js controller --- diff --git a/app/assets/javascripts/index/new_note.js b/app/assets/javascripts/index/new_note.js index 59fbeeb1d..887ba043b 100644 --- a/app/assets/javascripts/index/new_note.js +++ b/app/assets/javascripts/index/new_note.js @@ -139,8 +139,6 @@ OSM.NewNote = function (map) { newNote.on("remove", function () { addNoteButton.removeClass("active"); - }).on("dragstart", function () { - $(newNote).stopTime("removenote"); }).on("dragend", function () { content.find("textarea").focus(); });