1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-17 23:34:50 +00:00

Misplaced space

This commit is contained in:
Jermolene 2013-12-14 17:22:26 +00:00
parent ef9175e7bc
commit 713d6945c6

View File

@ -323,7 +323,7 @@ NavigatorWidget.prototype.handleNewTiddlerEvent = function(event) {
var baseTitle = (templateTiddler && templateTiddler.fields.title) || "New Tiddler", var baseTitle = (templateTiddler && templateTiddler.fields.title) || "New Tiddler",
title; title;
for(var t=0; true; t++) { for(var t=0; true; t++) {
title = baseTitle + (t ? " " + t : ""); title = baseTitle + (t ? " " + t : "");
if(!this.wiki.tiddlerExists(title)) { if(!this.wiki.tiddlerExists(title)) {
break; break;
} }