]> git.openstreetmap.org Git - rails.git/commitdiff
Remove unused timer from new note js controller
authorAnton Khorev <tony29@yandex.ru>
Wed, 13 Nov 2024 12:54:20 +0000 (15:54 +0300)
committerAnton Khorev <tony29@yandex.ru>
Wed, 13 Nov 2024 12:54:20 +0000 (15:54 +0300)
app/assets/javascripts/index/new_note.js

index 59fbeeb1d6aa35146a0808c950923373c3d9f10b..887ba043b12b00bda5478b4e2dfd3aeec305efd3 100644 (file)
@@ -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();
     });