[openstreetmap/openstreetmap-website] Replace qs with URLSearchParams (PR #5592)
Tom Hughes
notifications at github.com
Sun Feb 2 12:55:51 UTC 2025
@tomhughes commented on this pull request.
> @@ -45,34 +44,34 @@
*/
window.updateLinks = function (loc, zoom, layers, object) {
$(".geolink").each(function (index, link) {
- var href = link.href.split(/[?#]/)[0],
- args = Qs.parse(link.search.substring(1)),
- editlink = $(link).hasClass("editlink");
+ let href = link.href.split(/[?#]/)[0];
I'm not actually changing that line though? Other than replacing `var` with `let`?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5592#discussion_r1938485505
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5592/review/2588547497 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250202/50b5839c/attachment.htm>
More information about the rails-dev
mailing list