Remove dead code 💀

print-window-tiddler
Devin Weaver 2014-04-24 22:16:32 -04:00
rodzic 61c204366f
commit 8611867930
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -281,8 +281,7 @@ NavigatorWidget.prototype.generateDraftTitle = function(title) {
NavigatorWidget.prototype.handleSaveTiddlerEvent = function(event) {
var title = event.param || event.tiddlerTitle,
tiddler = this.wiki.getTiddler(title),
storyList = this.getStoryList(),
storyTiddlerModified = false; // We have to special case saving the story tiddler itself
storyList = this.getStoryList();
// Replace the original tiddler with the draft
if(tiddler) {
var draftTitle = (tiddler.fields["draft.title"] || "").trim(),