Use the file name as initial title
This commit is contained in:
@@ -564,6 +564,11 @@ define([
|
||||
|
||||
editor.setValue(newDoc || '');
|
||||
|
||||
if (Cryptpad.initialName && document.title === defaultName) {
|
||||
updateTitle(Cryptpad.initialName);
|
||||
onLocal();
|
||||
}
|
||||
|
||||
if (Visible.isSupported()) {
|
||||
Visible.onChange(function (yes) {
|
||||
if (yes) { unnotify(); }
|
||||
|
||||
Reference in New Issue
Block a user