Ticket #7490: 7490.01.patch
File 7490.01.patch, 670 bytes (added by , 7 years ago) |
---|
-
src/bp-templates/bp-legacy/js/buddypress.js
1971 1971 comment_lis.each( function(i) { 1972 1972 /* Show the latest 5 root comments */ 1973 1973 if ( i < comment_lis.length - 5 ) { 1974 jq(this).addClass('hidden'); 1975 jq(this).toggle(); 1974 jq(this).hide(); 1976 1975 1977 1976 if ( !i ) { 1978 1977 jq(this).before( '<li class="show-all"><a href="#' + parent_li.attr('id') + '/show-all/" title="' + BP_DTheme.show_all_comments + '">' + BP_DTheme.show_x_comments.replace( '%d', comment_count ) + '</a></li>' );