From 8611867930b7778918a90cc36b8517d0649e926c Mon Sep 17 00:00:00 2001 From: Devin Weaver Date: Thu, 24 Apr 2014 22:16:32 -0400 Subject: [PATCH] Remove dead code :skull: --- core/modules/widgets/navigator.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/modules/widgets/navigator.js b/core/modules/widgets/navigator.js index c58caa2e3..60c917e38 100755 --- a/core/modules/widgets/navigator.js +++ b/core/modules/widgets/navigator.js @@ -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(),