This commit is contained in:
Jermolene
2013-12-20 17:07:30 +00:00
parent 79046c52b4
commit e66fb948c1
+1 -1
View File
@@ -175,7 +175,7 @@ Generate an unused title from the specified base
exports.generateNewTitle = function(baseTitle) {
var c = 0,
title = baseTitle;
while(this.tiddlerExists(title) {
while(this.tiddlerExists(title)) {
title = baseTitle + " " + (++c);
};
return title;