1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-18 11:29:55 +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();
if(hash !== $tw.locationHash) {
$tw.locationHash = hash;
openStartupTiddlers({defaultToCurrentStory: true});
if(hash !== "#") {
openStartupTiddlers({defaultToCurrentStory: true});
}
}
},false);
// Listen for the tm-browser-refresh message