mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Remove debugging code
This commit is contained in:
parent
3e49dd65a0
commit
f368175cb0
@ -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…
Reference in New Issue
Block a user