@AntonKhorev I couldn't reproduce JS errors in the console. But I changed logic 
and now when user clicks "Map Data" checkbox, previous action is skipped 
immediately. Therefore, there will be no 2*n loads and errors. When we will be 
okay with the solution, I'll create a new PR in the 
[leaflet-osm](https://github.com/openstreetmap/leaflet-osm).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5009#issuecomment-2385224902
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/pull/5009/c2385224...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to