From e66fb948c187668ee33c2e74ebd67f4d7f2a0a08 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Fri, 20 Dec 2013 17:07:30 +0000 Subject: [PATCH] Typo from #296 --- core/modules/wiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/wiki.js b/core/modules/wiki.js index a3aad08f2..d93e85758 100755 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -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;