[PE] Start reporter view in non-fullscreen mode.

This commit is contained in:
Julia Radzhabova 2017-08-22 17:15:28 +03:00
parent 3368cba92c
commit c792da3342

View file

@ -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();
}