Store code2 and set the title at the first visit

This commit is contained in:
yflory 2017-09-04 17:09:45 +02:00
parent 86e23ac19f
commit c0f14dea5e

View File

@ -410,6 +410,8 @@ define([
if (hjson.highlightMode) {
CodeMirror.setMode(hjson.highlightMode, onModeChanged);
}
} else {
Title.updateTitle(Cryptpad.initialName || Title.defaultTitle);
}
if (!CodeMirror.highlightMode) {