mirror of
https://github.com/friendica/friendica
synced 2025-04-26 23:10:11 +00:00
duepuntozero, vier: add unread messages per group
This commit is contained in:
parent
3c1127e613
commit
c700a6fb37
6 changed files with 51 additions and 21 deletions
|
@ -203,6 +203,13 @@
|
|||
var birthdaystoday = $(data).find('birthdays-today').text();
|
||||
if(birthdaystoday == 0) { $('#birthdays-update').removeClass('notif-birthdays-today') } else { $('#birthdays-update').addClass('notif-birthdays-today') }
|
||||
|
||||
$(".sidebar-group-li .notify").removeClass("show");
|
||||
$(data).find("group").each(function() {
|
||||
var gid = this.id;
|
||||
var gcount = this.innerHTML;
|
||||
$(".group-"+gid+" .notify").addClass("show").text(gcount);
|
||||
});
|
||||
|
||||
|
||||
var eNotif = $(data).find('notif')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue