fix frontend main js, number of views hidden
This commit is contained in:
parent
7ce415d8b5
commit
ddbf2f4114
|
|
@ -565,7 +565,7 @@ if (inline != undefined) {
|
|||
selectElement('#card').style.opacity = .5;
|
||||
selectElement('.item_btn').style.display = 'none';
|
||||
|
||||
document.querySelectorAll('.item_btn').forEach(el => { el.style.display = 'none'; })
|
||||
document.querySelectorAll('.item_row').forEach(el => { el.style.display = 'none'; })
|
||||
document.querySelectorAll('.item_head').forEach(el => { el.style.display = 'none'; })
|
||||
document.querySelectorAll('.item_sub_name').forEach(el => { el.style.display = 'none'; })
|
||||
document.querySelectorAll('.inline_head').forEach(el => { el.style.display = 'flex'; })
|
||||
|
|
@ -580,7 +580,7 @@ if (card != undefined) {
|
|||
document.documentElement.setAttribute("data-theme", "col");
|
||||
selectElement('#inline').style.opacity = .5;
|
||||
selectElement('#card').style.opacity = 1;
|
||||
document.querySelectorAll('.item_btn').forEach(el => { el.style.display = 'block'; })
|
||||
document.querySelectorAll('.item_row').forEach(el => { el.style.display = 'flex'; })
|
||||
document.querySelectorAll('.item_head').forEach(el => { el.style.display = 'block'; })
|
||||
document.querySelectorAll('.item_sub_name').forEach(el => { el.style.display = 'block'; })
|
||||
document.querySelectorAll('.inline_head').forEach(el => { el.style.display = 'none'; })
|
||||
|
|
|
|||
Loading…
Reference in New Issue