Store code2 and set the title at the first visit
This commit is contained in:
parent
86e23ac19f
commit
c0f14dea5e
@ -410,6 +410,8 @@ define([
|
||||
if (hjson.highlightMode) {
|
||||
CodeMirror.setMode(hjson.highlightMode, onModeChanged);
|
||||
}
|
||||
} else {
|
||||
Title.updateTitle(Cryptpad.initialName || Title.defaultTitle);
|
||||
}
|
||||
|
||||
if (!CodeMirror.highlightMode) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user