https://bugzilla.wikimedia.org/show_bug.cgi?id=48028

--- Comment #4 from Kevin Israel (PleaseStand) <[email protected]> ---
(In reply to comment #3)
> (In reply to comment #2)
> > > Instead of using location.hash we should consider using
> > > window.history.replaceState and element.scrollIntoView if they are both
> > > available.
> 
> [...]
> 
> The hash is right. What's wrong is the page name before the hash.

Correct; that's why I didn't just mark this as a duplicate of bug 39328.
[history.replaceState][1] isn't limited to changing the hash; it should suffice
for this purpose.

[1]:
https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to