Change on_scroll_to_anchor so no history entry is added

This commit is contained in:
Adrian Vollmer 2022-10-11 14:20:09 +02:00
parent d4978d55de
commit f652131f11

View File

@ -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);
} }
} }