don't toggle maximization state after setting

pull/1/head
ansuz 8 years ago
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…
Cancel
Save