mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-19 16:24:51 +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) {
|
exports.generateNewTitle = function(baseTitle) {
|
||||||
var c = 0,
|
var c = 0,
|
||||||
title = baseTitle;
|
title = baseTitle;
|
||||||
while(this.tiddlerExists(title) {
|
while(this.tiddlerExists(title)) {
|
||||||
title = baseTitle + " " + (++c);
|
title = baseTitle + " " + (++c);
|
||||||
};
|
};
|
||||||
return title;
|
return title;
|
||||||
|
Loading…
Reference in New Issue
Block a user