Changeset 12130
- Timestamp:
- 05/25/2018 11:22:24 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/js/buddypress-activity.js
r12082 r12130 352 352 353 353 // If all parents are hidden, reveal at least one. It seems very risky to manipulate the DOM to keep exactly 5 comments! 354 if ( $( comment_parents ).children( '.bp-hidden' ).length === $( comment_parents ).children( 'li' ).length - 1 && $( comment_parents ).find( 'li.show-all' ) ) {354 if ( $( comment_parents ).children( '.bp-hidden' ).length === $( comment_parents ).children( 'li' ).length - 1 && $( comment_parents ).find( 'li.show-all' ).length ) { 355 355 $( comment_parents ).children( 'li' ).removeClass( 'bp-hidden' ).toggle(); 356 356 }
Note: See TracChangeset
for help on using the changeset viewer.