]> git.mxchange.org Git - friendica.git/blobdiff - view/js/main.js
Fix: Pagination in search result works again
[friendica.git] / view / js / main.js
index a761f44fc8786a2b4dd68071cd48cc920e825269..3e0f8307a2b6b81123c4709f78e98e04cf0850ea 100644 (file)
@@ -296,11 +296,11 @@ $(function() {
                        $(".circle-"+gid+" .notify").addClass("show").text(gcount);
                });
 
-               $(".forum-widget-entry .notify").removeClass("show");
-               $(data.forums).each(function(key, forum) {
-                       var fid = forum.id;
-                       var fcount = forum.count;
-                       $(".forum-"+fid+" .notify").addClass("show").text(fcount);
+               $(".group-widget-entry .notify").removeClass("show");
+               $(data.groups).each(function(key, group) {
+                       var fid = group.id;
+                       var fcount = group.count;
+                       $(".group-"+fid+" .notify").addClass("show").text(fcount);
                });
 
                if (data.notifications.length == 0) {