mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 12:07:19 +00:00
Added a helpful comment
This commit is contained in:
parent
fdbb46afb8
commit
a04cec3723
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user