kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Typo from #296
rodzic
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;
|
||||
|
|
Ładowanie…
Reference in New Issue