From 7da23603ecb002b862e8fcb0865e23a60188a788 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 21 Jun 2021 18:07:19 +0000 Subject: =?UTF-8?q?fi=C3=83lter=20children=20by=20tt-filter-active=20class?= =?UTF-8?q?=20instead=20of=20visibility=20selector=20to=20omit=20reload=20?= =?UTF-8?q?loop=20in=20mobile=20view=20where=20notifications=20ar=20not=20?= =?UTF-8?q?visible=20while=20off-canvas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/tpl/notifications_widget.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view') diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index 54008b397..f7a429749 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -334,7 +334,7 @@ } // load more notifications if visible notifications count becomes low - if(sse_type && sse_offset != -1 && $('#nav-' + sse_type + '-menu').children(':visible').length < 15) { + if(sse_type && sse_offset != -1 && $('#nav-' + sse_type + '-menu').children(':not(.tt-filter-active)').length < 15) { sse_bs_notifications(sse_type, false, true); } @@ -479,7 +479,7 @@ {{$no_notifications}}...