]> git.openstreetmap.org Git - rails.git/commit
Register startinglocation listener as a named function
authorAnton Khorev <tony29@yandex.ru>
Sat, 1 Mar 2025 07:51:46 +0000 (10:51 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sat, 1 Mar 2025 08:29:19 +0000 (11:29 +0300)
commit614542ad7fe896e158384c7b3cf580e1b6fc4435
tree55295f60451cd560950b9749c3aedeb1f3befc8b
parentc37dc5c56d4be881e44500e1c8dde1826c0f78a7
Register startinglocation listener as a named function

The listener is not going to be run once if it's constructed inside the locateactivate listener. It's going to be run however many times locateactivate happens.
app/assets/javascripts/index/directions.js