From c42e8613e59ba74a5683a9d2678933fedbd43db2 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 20 Dec 2019 09:53:05 +0000 Subject: sse: fix new posts only filter broken after aditional results loaded --- view/tpl/notifications_widget.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 8e22da6c5..146c510f1 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -82,7 +82,7 @@ {{if $notification.filter}} $(document).on('click', '#tt-{{$notification.type}}-only', function(e) { e.preventDefault(); - $('#nav-{{$notification.type}}-menu [data-thread_top=false]').toggle(); + $('#nav-{{$notification.type}}-menu [data-thread_top=false]').toggleClass('d-none'); $(this).toggleClass('active sticky-top'); }); $(document).on('click', '#cn-{{$notification.type}}-input-clear', function(e) { -- cgit v1.2.3