diff --git a/themes/birzha/assets/js/main.js b/themes/birzha/assets/js/main.js index 1e6441396..bca793174 100644 --- a/themes/birzha/assets/js/main.js +++ b/themes/birzha/assets/js/main.js @@ -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'; })