mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
[desktop] fix bug 66125
This commit is contained in:
committed by
Oleg Korshul
parent
baa4c181a5
commit
3b6a5a8f06
@ -74,7 +74,9 @@ if ( window.AscDesktopEditor ) {
|
||||
}
|
||||
}
|
||||
|
||||
!window.features && (window.features = {});
|
||||
window.features.framesize = {width: window.innerWidth, height: window.innerHeight};
|
||||
window.desktop.execCommand('webapps:entry', (window.features && JSON.stringify(window.features)) || '');
|
||||
if ( !params || !params['internal'] ) {
|
||||
!window.features && (window.features = {});
|
||||
window.features.framesize = {width: window.innerWidth, height: window.innerHeight};
|
||||
window.desktop.execCommand('webapps:entry', (window.features && JSON.stringify(window.features)) || '');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user