mirror of
https://github.com/tcsenpai/Zundler.git
synced 2025-06-07 03:55:26 +00:00
Change on_scroll_to_anchor so no history entry is added
This commit is contained in:
parent
d4978d55de
commit
f652131f11
@ -216,7 +216,7 @@ var on_set_data = function(argument) {
|
|||||||
|
|
||||||
var on_scroll_to_anchor = function(argument) {
|
var on_scroll_to_anchor = function(argument) {
|
||||||
if (window.global_context.anchor) {
|
if (window.global_context.anchor) {
|
||||||
document.location.href = "about:srcdoc#" + window.global_context.anchor;
|
document.location.replace("about:srcdoc#" + window.global_context.anchor);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user