Fix loader for view mode

This commit is contained in:
Julia Radzhabova 2019-11-25 11:13:00 +03:00
parent d6584c6e49
commit e0aecd9704
6 changed files with 6 additions and 0 deletions

View file

@ -227,6 +227,7 @@
if (view) { if (view) {
document.querySelector('.brendpanel > :nth-child(2)').remove(); document.querySelector('.brendpanel > :nth-child(2)').remove();
document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px';
document.querySelector('.sktoolbar').remove(); document.querySelector('.sktoolbar').remove();
} }

View file

@ -212,6 +212,7 @@
view = params["mode"] == 'view'; view = params["mode"] == 'view';
if (view) { if (view) {
document.querySelector('.brendpanel > :nth-child(2)').remove(); document.querySelector('.brendpanel > :nth-child(2)').remove();
document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px';
document.querySelector('.sktoolbar').remove(); document.querySelector('.sktoolbar').remove();
} }
if (stopLoading) { if (stopLoading) {

View file

@ -256,6 +256,7 @@
if (view) { if (view) {
document.querySelector('.brendpanel > :nth-child(2)').remove(); document.querySelector('.brendpanel > :nth-child(2)').remove();
document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px';
document.querySelector('.sktoolbar').remove(); document.querySelector('.sktoolbar').remove();
} }

View file

@ -262,6 +262,7 @@
if (view) { if (view) {
document.querySelector('.brendpanel > :nth-child(2)').remove(); document.querySelector('.brendpanel > :nth-child(2)').remove();
document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px';
document.querySelector('.sktoolbar').remove(); document.querySelector('.sktoolbar').remove();
} }

View file

@ -233,6 +233,7 @@
if (view) { if (view) {
document.querySelector('.brendpanel > :nth-child(2)').remove(); document.querySelector('.brendpanel > :nth-child(2)').remove();
document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px';
document.querySelector('.sktoolbar').remove(); document.querySelector('.sktoolbar').remove();
} }

View file

@ -238,6 +238,7 @@
if (view) { if (view) {
document.querySelector('.brendpanel > :nth-child(2)').remove(); document.querySelector('.brendpanel > :nth-child(2)').remove();
document.querySelector('.brendpanel > :nth-child(1)').style.height = '32px';
document.querySelector('.sktoolbar').remove(); document.querySelector('.sktoolbar').remove();
} }