[openstreetmap/openstreetmap-website] Fix "undefined" comment when hiding resolved notes (PR #5842)
Tom Hughes
notifications at github.com
Tue Mar 25 18:24:40 UTC 2025
@tomhughes commented on this pull request.
> + const textarea = content.find("textarea");
+ if (textarea.length) {
+ data.set("text", textarea.val());
+ }
Which API call are you talking about? Surely we want to avoid any errors?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5842#discussion_r2012714481
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5842/review/2714803753 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250325/95cefa9f/attachment.htm>
More information about the rails-dev
mailing list