mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-22 22:10:03 +00:00
Missed off previous commit
This commit is contained in:
parent
a2caf46b1e
commit
377d84185a
@ -75,8 +75,8 @@ exports.startup = function() {
|
||||
story.tiddlers[t] = {title: defaultTiddlers[t]};
|
||||
history.stack[defaultTiddlers.length - t - 1] = {title: defaultTiddlers[t], fromTitle: defaultTiddlers[t+1]};
|
||||
}
|
||||
$tw.wiki.addTiddler(new $tw.Tiddler({title: storyTitle,type: "application/json", text: JSON.stringify(story)}));
|
||||
$tw.wiki.addTiddler(new $tw.Tiddler({title: historyTitle,type: "application/json", text: JSON.stringify(history)}));
|
||||
$tw.wiki.setTiddlerData(storyTitle,story);
|
||||
$tw.wiki.setTiddlerData(historyTitle,history);
|
||||
// If we're being viewed on a data: URI then give instructions for how to save
|
||||
if(document.location.protocol === "data:") {
|
||||
var event = document.createEvent("Event");
|
||||
|
Loading…
x
Reference in New Issue
Block a user