aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/notifications_widget.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-12-11 16:50:25 +0100
committerMario Vavti <mario@mariovavti.com>2017-12-11 16:50:25 +0100
commit5b1ef760a06dd892a6decf6a621e710b5ae4e7bd (patch)
treebcb1a055ec081f533f122fa7172782d65edee2d2 /view/tpl/notifications_widget.tpl
parent4859e6e11a725c345de24749f8600a20ea0a4c2f (diff)
downloadvolse-hubzilla-5b1ef760a06dd892a6decf6a621e710b5ae4e7bd.tar.gz
volse-hubzilla-5b1ef760a06dd892a6decf6a621e710b5ae4e7bd.tar.bz2
volse-hubzilla-5b1ef760a06dd892a6decf6a621e710b5ae4e7bd.zip
notification: slight animation for loading... and do not remove public stream items on click (we can not mark them read)
Diffstat (limited to 'view/tpl/notifications_widget.tpl')
-rw-r--r--view/tpl/notifications_widget.tpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl
index 9751f2e75..0974045fe 100644
--- a/view/tpl/notifications_widget.tpl
+++ b/view/tpl/notifications_widget.tpl
@@ -43,7 +43,9 @@
e.preventDefault();
if(! page_load) {
- $(this).fadeOut();
+ if($(this).parent().attr('id') !== 'nav-pubs-menu')
+ $(this).fadeOut();
+
getData(b64mid, notify_id);
}
@@ -110,7 +112,7 @@
<i class="fa fa-fw fa-filter"></i> {{$notification.filter.label}}
</div>
{{/if}}
- {{$loading}}
+ {{$loading}}<span class="jumping-dots"><span class="dot-1">.</span><span class="dot-2">.</span><span class="dot-3">.</span></span>
</div>
</div>
{{/foreach}}