X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=js%2Fmain.js;h=f67d7183cedabb5e476e094459c386592a070ff9;hb=f09f07c74a15678c6b4b2dc777ca8394a5ce5139;hp=df454afe1fb8bbccdf1aa86fafe9486917da74c0;hpb=686ba3fcb05c26dd75bc8b6cdf8fb589dfdb4645;p=friendica.git diff --git a/js/main.js b/js/main.js index df454afe1f..f67d7183ce 100644 --- a/js/main.js +++ b/js/main.js @@ -210,6 +210,13 @@ $(".group-"+gid+" .notify").addClass("show").text(gcount); }); + $(".forum-widget-entry .notify").removeClass("show"); + $(data).find("forum").each(function() { + var fid = this.id; + var fcount = this.innerHTML; + $(".forum-"+fid+" .notify").addClass("show").text(fcount); + }); + var eNotif = $(data).find('notif')