Ticket #2587: 2587.001.patch
| File 2587.001.patch, 792 bytes (added by , 15 years ago) |
|---|
-
buddypress/bp-themes/bp-default/_inc/global.js
1192 1192 1193 1193 var comments_div = jq(this); 1194 1194 var parent_li = comments_div.parents('ul#activity-stream > li'); 1195 var comment_lis = jq(this).children('ul'). children('li');1195 var comment_lis = jq(this).children('ul').find('li'); 1196 1196 var comment_count = ' '; 1197 1197 1198 1198 if ( jq('li#' + parent_li.attr('id') + ' a.acomment-reply span').length ) … … 1200 1200 1201 1201 comment_lis.each( function(i) { 1202 1202 /* Show the latest 5 root comments */ 1203 if ( i < comment_lis. length- 5 ) {1203 if ( i < comment_lis.size() - 5 ) { 1204 1204 jq(this).addClass('hidden'); 1205 1205 jq(this).toggle(); 1206 1206