[openstreetmap/openstreetmap-website] Don't add title to note marker if note has no visible comments (PR #3617)

Anton Khorev notifications at github.com
Sat Jul 23 18:36:13 UTC 2022


Fixes javascript errors when the note layer is enabled and there's a note without comments.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Don't add title to note marker if note has no visible comments

-- File Changes --

    M app/assets/javascripts/index/notes.js (9)
    M test/system/site_test.rb (24)

-- Patch Links --

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

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

Message ID: <openstreetmap/openstreetmap-website/pull/3617 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220723/2c8c7ae6/attachment.htm>


More information about the rails-dev mailing list