mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 00:30:34 +08:00
Fix loader for view mode
This commit is contained in:
@ -227,6 +227,7 @@
|
||||
|
||||
if (view) {
|
||||
document.querySelector('.brendpanel > :nth-child(2)').remove();
|
||||
document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px';
|
||||
document.querySelector('.sktoolbar').remove();
|
||||
}
|
||||
|
||||
|
||||
@ -212,6 +212,7 @@
|
||||
view = params["mode"] == 'view';
|
||||
if (view) {
|
||||
document.querySelector('.brendpanel > :nth-child(2)').remove();
|
||||
document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px';
|
||||
document.querySelector('.sktoolbar').remove();
|
||||
}
|
||||
if (stopLoading) {
|
||||
|
||||
@ -256,6 +256,7 @@
|
||||
|
||||
if (view) {
|
||||
document.querySelector('.brendpanel > :nth-child(2)').remove();
|
||||
document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px';
|
||||
document.querySelector('.sktoolbar').remove();
|
||||
}
|
||||
|
||||
|
||||
@ -262,6 +262,7 @@
|
||||
|
||||
if (view) {
|
||||
document.querySelector('.brendpanel > :nth-child(2)').remove();
|
||||
document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px';
|
||||
document.querySelector('.sktoolbar').remove();
|
||||
}
|
||||
|
||||
|
||||
@ -233,6 +233,7 @@
|
||||
|
||||
if (view) {
|
||||
document.querySelector('.brendpanel > :nth-child(2)').remove();
|
||||
document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px';
|
||||
document.querySelector('.sktoolbar').remove();
|
||||
}
|
||||
|
||||
|
||||
@ -238,6 +238,7 @@
|
||||
|
||||
if (view) {
|
||||
document.querySelector('.brendpanel > :nth-child(2)').remove();
|
||||
document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px';
|
||||
document.querySelector('.sktoolbar').remove();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user