mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Correct return value for makeDraftTiddler
This commit is contained in:
parent
d74fc931c1
commit
1e02a9f0db
@ -250,7 +250,7 @@ NavigatorWidget.prototype.makeDraftTiddler = function(targetTitle) {
|
||||
// See if there is already a draft tiddler for this tiddler
|
||||
var draftTitle = this.wiki.findDraft(targetTitle);
|
||||
if(draftTitle) {
|
||||
return draftTitle;
|
||||
return this.wiki.getTiddler(draftTitle);
|
||||
}
|
||||
// Get the current value of the tiddler we're editing
|
||||
var tiddler = this.wiki.getTiddler(targetTitle);
|
||||
|
Loading…
Reference in New Issue
Block a user