From c0f14dea5ee5e6abd30a67188006504d0f742017 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 4 Sep 2017 17:09:45 +0200 Subject: [PATCH] Store code2 and set the title at the first visit --- www/code2/inner.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/code2/inner.js b/www/code2/inner.js index 3fc012eae..fa12f26b4 100644 --- a/www/code2/inner.js +++ b/www/code2/inner.js @@ -410,6 +410,8 @@ define([ if (hjson.highlightMode) { CodeMirror.setMode(hjson.highlightMode, onModeChanged); } + } else { + Title.updateTitle(Cryptpad.initialName || Title.defaultTitle); } if (!CodeMirror.highlightMode) {