[openstreetmap/openstreetmap-website] Remove jQuery throttle-debounce dependency (PR #6811)
Marwin Hochfelsner
notifications at github.com
Fri Feb 13 21:28:59 UTC 2026
@hlfan commented on this pull request.
> @@ -35,7 +35,7 @@ document.addEventListener("DOMContentLoaded", function () {
}
let hashChangedAutomatically = false;
- id.map().on("move.embed", parent.$.throttle(250, function () {
+ window.history.replaceState = function () {
I've now made it fire a custom event. Is that override acceptable?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6811#discussion_r2806175596
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6811/review/3799643472 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260213/7635d85d/attachment.htm>
More information about the rails-dev
mailing list