Fix loader for view mode
This commit is contained in:
parent
d6584c6e49
commit
e0aecd9704
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue