]> git.openstreetmap.org Git - rails.git/commit
Call removeNewNoteMarker() only from page.unload()
authorAnton Khorev <tony29@yandex.ru>
Wed, 25 Dec 2024 02:04:43 +0000 (05:04 +0300)
committerAnton Khorev <tony29@yandex.ru>
Tue, 31 Dec 2024 23:13:59 +0000 (02:13 +0300)
commit5542858315f89d73cd13b1292acbbddb7de678cc
tree307c587f11344bbcbdc23be2c4f497e049e79de9
parent6cc31259e4e96784e4937c8c0ae561f8291ecaa2
Call removeNewNoteMarker() only from page.unload()

It was also called from noteCreated() but that triggered page.unload() via OSM.router.route().
app/assets/javascripts/index/new_note.js