mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
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…
Reference in New Issue
Block a user