mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-02 12:19:11 +00:00
Typo from #296
This commit is contained in:
parent
79046c52b4
commit
e66fb948c1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user