mirror of https://github.com/xwiki-labs/cryptpad
don't toggle maximization state after setting
This commit is contained in:
parent
7868a65da9
commit
b33661d9d5
|
@ -627,7 +627,10 @@ define([
|
|||
|
||||
// this should only ever get called once, when the chain syncs
|
||||
var onReady = realtimeOptions.onReady = function (info) {
|
||||
editor.execCommand('maximize');
|
||||
if (!APP.isMaximized) {
|
||||
editor.execCommand('maximize');
|
||||
APP.isMaximized = true;
|
||||
}
|
||||
|
||||
module.patchText = TextPatcher.create({
|
||||
realtime: info.realtime,
|
||||
|
|
Loading…
Reference in New Issue