1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-03-20 22:59:49 +00:00

Dynaview: Fix RSOE with Update address bar while scrolling

See https://talk.tiddlywiki.org/t/your-help-is-needed-to-test-v5-4-0/14945/52
This commit is contained in:
Jeremy Ruston
2026-03-11 12:22:14 +00:00
parent 846deb3039
commit 8773a0433c

View File

@@ -155,7 +155,7 @@ function updateAddressBar() {
var top = findTopmostTiddler();
if(top.element) {
var hash = "#" + encodeURIComponent(top.title) + ":" + encodeURIComponent("[list[$:/StoryList]]");
if(title && $tw.locationHash !== hash) {
if(top.title && $tw.locationHash !== hash) {
$tw.locationHash = hash;
window.location.hash = hash;
}