diff options
author | Mario <mario@mariovavti.com> | 2025-06-06 12:04:32 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2025-06-06 12:04:32 +0000 |
commit | 409c062c4f11369db92cefd7b23277fecd074357 (patch) | |
tree | 7d7744302f9e251de028e3f584e4fdf9aa3f6e5d /view/js | |
parent | 1b494cdd27c775f96d8bd4215f418cec30c9ef45 (diff) | |
download | volse-hubzilla-409c062c4f11369db92cefd7b23277fecd074357.tar.gz volse-hubzilla-409c062c4f11369db92cefd7b23277fecd074357.tar.bz2 volse-hubzilla-409c062c4f11369db92cefd7b23277fecd074357.zip |
reset indents for possible followup autoexpand
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/main.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js index d729acbeb..338141921 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -166,6 +166,14 @@ $(document).ready(function() { const wrapper = document.getElementById('thread-wrapper-' + id); const parent = wrapper.closest('.generic-content-wrapper'); + parent.querySelectorAll('.wall-item-sub-thread-wrapper.item-indent').forEach(el => { + el.classList.remove('item-indent'); + }); + + parent.querySelectorAll('.thread-wrapper.wall-item-expanded').forEach(el => { + el.classList.remove('wall-item-expanded'); + }); + parent.classList.add('wall-item-backdrop'); wrapper.classList.add('wall-item-expanded', 'shadow'); |