From f6141277d5a727fdec5c7bb26e35b17b1e6f495d Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 13 Nov 2024 15:54:20 +0300 Subject: [PATCH 1/1] Remove unused timer from new note js controller --- app/assets/javascripts/index/new_note.js | 2 -- 1 file changed, 2 deletions(-) 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(); }); -- 2.39.5