As learned in #7222, Turbo does some weird shit when navigation fails, even if 
we tell it not to.
This PR prevents queries if the result has nowhere to go, like when the page 
503s.

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/7225

-- Commit Summary --

  * Add early return for empty section in runQuery

-- File Changes --

    M app/assets/javascripts/index_modules/query.js (1)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/7225.patch
https://github.com/openstreetmap/openstreetmap-website/pull/7225.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to