aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-11-23 20:47:34 +0000
committerMario <mario@mariovavti.com>2019-11-23 20:47:34 +0000
commit483d450af429ab06798cbaf5d293f5a6498f909a (patch)
tree21e03ab9532f7fbdb72e4034079d9e0d0ebcd42e
parentdecc14c3244cb55cdc79fac85c4c979b014f2b75 (diff)
downloadvolse-hubzilla-483d450af429ab06798cbaf5d293f5a6498f909a.tar.gz
volse-hubzilla-483d450af429ab06798cbaf5d293f5a6498f909a.tar.bz2
volse-hubzilla-483d450af429ab06798cbaf5d293f5a6498f909a.zip
sse: use fadeOut() to be consistent
-rw-r--r--view/js/main.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/view/js/main.js b/view/js/main.js
index de79074f7..eac9bf6ef 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -534,10 +534,11 @@ function closeMenu(theID) {
function markRead(notifType) {
$.get('ping?f=&markRead='+notifType);
- $('.' + notifType + '-button').hide();
- $('#nav-' + notifType + '-sub').removeClass('show');
- sessionStorage.removeItem('notification_open');
- sse_setNotificationsStatus();
+ $('.' + notifType + '-button').fadeOut(function() {
+ $('#nav-' + notifType + '-sub').removeClass('show');
+ sessionStorage.removeItem('notification_open');
+ sse_setNotificationsStatus();
+ });
}
function markItemRead(itemId) {