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

Remove debugging code

This commit is contained in:
Jermolene 2014-05-05 20:58:47 +01:00
parent 3e49dd65a0
commit f368175cb0

View File

@ -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())
}
}