mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-12 04:45:42 +00:00
Add new safe mode layout
This commit is contained in:
@@ -214,7 +214,7 @@ function updateLocationHash(options) {
|
||||
break;
|
||||
}
|
||||
// Only change the location hash if we must, thus avoiding unnecessary onhashchange events
|
||||
if($tw.utils.getLocationHash() !== $tw.locationHash) {
|
||||
if($tw.utils.getLocationHash() !== $tw.locationHash && !$tw.safeMode) {
|
||||
if(options.updateHistory === "yes") {
|
||||
// Assign the location hash so that history is updated
|
||||
window.location.hash = $tw.locationHash;
|
||||
|
||||
Reference in New Issue
Block a user