From c792da3342bf2cba12bb905941ab0c129a27db38 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 22 Aug 2017 17:15:28 +0300 Subject: [PATCH] [PE] Start reporter view in non-fullscreen mode. --- .../main/app/controller/Viewport.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/apps/presentationeditor/main/app/controller/Viewport.js b/apps/presentationeditor/main/app/controller/Viewport.js index 009d74338..9d90c4485 100644 --- a/apps/presentationeditor/main/app/controller/Viewport.js +++ b/apps/presentationeditor/main/app/controller/Viewport.js @@ -178,17 +178,12 @@ define([ me.api.StartDemonstration('presentation-preview', _.isNumber(slidenum) ? slidenum : 0, reporterObject); Common.component.Analytics.trackEvent('Viewport', 'Preview'); }; - if (!me.viewport.mode.isDesktopApp && !Common.Utils.isIE11) { + if (!me.viewport.mode.isDesktopApp && !Common.Utils.isIE11 && !presenter) { Common.NotificationCenter.on('window:resize', _onWindowResize); me.fullScreen(document.documentElement); - - if (!reporterObject) { - setTimeout(function(){ - _onWindowResize(); - }, 100); - } else { + setTimeout(function(){ _onWindowResize(); - } + }, 100); } else _onWindowResize(); }