[desktop] fix bug 66125

This commit is contained in:
maxkadushkin
2024-01-24 22:06:28 +03:00
committed by Oleg Korshul
parent baa4c181a5
commit 3b6a5a8f06

View File

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