[openstreetmap/openstreetmap-website] Remove jQuery throttle-debounce dependency (PR #6811)
Holger Jeromin
notifications at github.com
Fri Feb 13 16:08:07 UTC 2026
@HolgerJeromin 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 () {
You do not want to overwrite basic Browser APIs.
https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6811#pullrequestreview-3798105106
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6811/review/3798105106 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260213/e9d58e0f/attachment.htm>
More information about the rails-dev
mailing list