Changeset 13770
- Timestamp:
- 03/14/2024 03:31:49 AM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/js/buddypress-activity.js
r13344 r13770 362 362 // If all parents are hidden, reveal at least one. It seems very risky to manipulate the DOM to keep exactly 5 comments! 363 363 if ( $( comment_parents ).children( '.bp-hidden' ).length === $( comment_parents ).children( 'li' ).length - 1 && $( comment_parents ).find( 'li.show-all' ).length ) { 364 $( comment_parents ).children( 'li ' ).removeClass( 'bp-hidden' ).toggle();364 $( comment_parents ).children( 'li:not(.show-all)' ).removeClass( 'bp-hidden' ).toggle(); 365 365 } 366 366 } );
Note: See TracChangeset
for help on using the changeset viewer.