mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-02-19 06:31:48 -08:00
Remove debugging code
This commit is contained in:
parent
3e49dd65a0
commit
f368175cb0
1 changed files with 0 additions and 3 deletions
|
|
@ -105,11 +105,8 @@ function updateLocationHash() {
|
|||
}
|
||||
$tw.locationHash = "#" + encodeURIComponent(targetTiddler) + ":" + encodeURIComponent($tw.utils.stringifyList(storyList));
|
||||
// Only change the location hash if we must, thus avoiding unnecessary onhashchange events
|
||||
// console.log("Testing",$tw.utils.getLocationHash(),$tw.locationHash)
|
||||
if($tw.utils.getLocationHash() !== $tw.locationHash) {
|
||||
window.location.hash = $tw.locationHash;
|
||||
console.log("Just set",$tw.locationHash,$tw.utils.getLocationHash())
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue