@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/[email protected]>_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev