kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Remove dead code 💀
rodzic
61c204366f
commit
8611867930
|
@ -281,8 +281,7 @@ NavigatorWidget.prototype.generateDraftTitle = function(title) {
|
||||||
NavigatorWidget.prototype.handleSaveTiddlerEvent = function(event) {
|
NavigatorWidget.prototype.handleSaveTiddlerEvent = function(event) {
|
||||||
var title = event.param || event.tiddlerTitle,
|
var title = event.param || event.tiddlerTitle,
|
||||||
tiddler = this.wiki.getTiddler(title),
|
tiddler = this.wiki.getTiddler(title),
|
||||||
storyList = this.getStoryList(),
|
storyList = this.getStoryList();
|
||||||
storyTiddlerModified = false; // We have to special case saving the story tiddler itself
|
|
||||||
// Replace the original tiddler with the draft
|
// Replace the original tiddler with the draft
|
||||||
if(tiddler) {
|
if(tiddler) {
|
||||||
var draftTitle = (tiddler.fields["draft.title"] || "").trim(),
|
var draftTitle = (tiddler.fields["draft.title"] || "").trim(),
|
||||||
|
|
Ładowanie…
Reference in New Issue