1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 02:50:27 +00:00

Added a helpful comment

This commit is contained in:
Jeremy Ruston 2012-01-25 19:15:07 +00:00
parent fdbb46afb8
commit a04cec3723

View File

@ -18,7 +18,7 @@ var StoryNavigator = function(navigators) {
StoryNavigator.prototype.navigateTo = function(title) {
var store = this.navigators.store,
tiddler = store.getTiddler(title),
storyTiddler = store.getTiddler("StoryTiddlers");
storyTiddler = store.getTiddler("StoryTiddlers"); // This is a hack, obviously
if(tiddler) {
store.addTiddler(new Tiddler(storyTiddler,{text: title + "\n" + storyTiddler.text}));
$("html,body").animate({