Use the file name as initial title
This commit is contained in:
1 parent
20b08a7847
commit
c72bbd4c37
6 files changed
+33
-11
No files matched your search
@@ -372,6 +372,8 @@ define([
|
||||
};
|
||||
if (!initializing) {
|
||||
hjson[3].metadata.title = document.title;
|
||||
} else if (Cryptpad.initialName) {
|
||||
hjson[3].metadata.title = Cryptpad.initialName;
|
||||
}
|
||||
return stringify(hjson);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user