diff options
author | Mario <mario@mariovavti.com> | 2021-09-27 07:01:33 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-09-27 07:01:33 +0000 |
commit | 73e8af98f21f69195f723782c69243e0d7237780 (patch) | |
tree | 870c1e89497621f1dbfd9d5222444f6493a1e1bd /view/tpl | |
parent | 0117a0019be0bdf8087f72f8c70d7eedcd4bfe0a (diff) | |
download | volse-hubzilla-73e8af98f21f69195f723782c69243e0d7237780.tar.gz volse-hubzilla-73e8af98f21f69195f723782c69243e0d7237780.tar.bz2 volse-hubzilla-73e8af98f21f69195f723782c69243e0d7237780.zip |
fix notification panel collapsed state not saved if closed manually
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/notifications_widget.tpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 76b0851a7..4ef98e2f9 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -257,7 +257,7 @@ if(typeof sse_type === 'undefined') return; - if(followup || !manual || !($('#nav-' + sse_type + '-sub').hasClass('collapse') && $('#nav-' + sse_type + '-sub').hasClass('show'))) { + if(followup || !manual || !$('#notification-link-' + sse_type).hasClass('collapsed')) { if(sse_offset >= 0) { $("#nav-" + sse_type + "-loading").show(); @@ -287,9 +287,9 @@ sse_handleNotifications(obj, replace, followup); }); } - else + else { $("#nav-" + sse_type + "-loading").hide(); - + } } else { sessionStorage.removeItem('notification_open'); |