mirror of
https://github.com/friendica/friendica
synced 2025-04-27 13:10:10 +00:00
count unread forum items for forumlist widget (ping.php)
This commit is contained in:
parent
1babf5a6d1
commit
ddf3589fc5
11 changed files with 208 additions and 68 deletions
|
@ -11,6 +11,13 @@ $(document).ready(function(){
|
|||
$(".group-"+gid+" .notify").addClass("on").text(gcount);
|
||||
});
|
||||
|
||||
$(".forum-widget-entry .notify").removeClass("on");
|
||||
$(data).find("forum").each(function() {
|
||||
var fid = this.id;
|
||||
var fcount = this.innerHTML;
|
||||
$(".forum-"+fid+" .notify").addClass("on").text(fcount);
|
||||
});
|
||||
|
||||
console.log(intro,mail);
|
||||
|
||||
if (notifCount > 0 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue