mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 06:51:23 +08:00
[PE] fix fullscreen on mobile device
This commit is contained in:
@ -278,7 +278,7 @@ define([
|
||||
};
|
||||
if (!me.viewport.mode.isDesktopApp && !Common.Utils.isIE11 && !presenter && !!document.fullscreenEnabled) {
|
||||
Common.NotificationCenter.on('window:resize', _onWindowResize);
|
||||
!fromApiEvent && me.fullScreen(document.documentElement);
|
||||
!fromApiEvent && me.fullScreen(document.getElementById("presentation-preview"));
|
||||
setTimeout(function(){
|
||||
_onWindowResize();
|
||||
}, 100);
|
||||
|
||||
Reference in New Issue
Block a user