1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00

Fix anchor links do not work with addressbar=permalink and animationduration=0

Fixes #6757
This commit is contained in:
jeremy@jermolene.com 2022-07-05 18:39:14 +01:00
parent ceec7b5737
commit f93fe50044

View File

@ -54,7 +54,9 @@ exports.startup = function() {
var hash = $tw.utils.getLocationHash(); var hash = $tw.utils.getLocationHash();
if(hash !== $tw.locationHash) { if(hash !== $tw.locationHash) {
$tw.locationHash = hash; $tw.locationHash = hash;
openStartupTiddlers({defaultToCurrentStory: true}); if(hash !== "#") {
openStartupTiddlers({defaultToCurrentStory: true});
}
} }
},false); },false);
// Listen for the tm-browser-refresh message // Listen for the tm-browser-refresh message