Do not share the title in the doc if it is the default title
This commit is contained in:
@@ -295,6 +295,10 @@ define([
|
||||
while (!isNameAvailable(name + ' - ' + untitledIndex, parsed, recentPads)) { untitledIndex++; }
|
||||
return name + ' - ' + untitledIndex;
|
||||
};
|
||||
var isDefaultName = common.isDefaultName = function (parsed, title) {
|
||||
var name = getDefaultName(parsed, []);
|
||||
return title.slice(0, name.length) === name;
|
||||
};
|
||||
|
||||
var makePad = function (href, title) {
|
||||
var now = ''+new Date();
|
||||
|
||||
Reference in New Issue
Block a user