don't toggle maximization state after setting

This commit is contained in:
ansuz 2017-01-05 15:21:17 +01:00
parent 7868a65da9
commit b33661d9d5
1 changed files with 4 additions and 1 deletions

View File

@ -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,