@AntonKhorev commented on this pull request.


>      $("#referer").val($("#referer").val() + location.hash);
+    $("#referer_link").prop("href", $("#referer_link").prop("href") + 
location.hash);

`$("#referer_link")[0].hash = location.hash;` requires the link to exist and 
we're not checking that.

Changed to `$("#referer_link").prop("hash", location.hash);`.

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

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

Reply via email to