Skip to:
Content

BuddyPress.org

Changeset 12130


Ignore:
Timestamp:
05/25/2018 11:22:24 PM (6 years ago)
Author:
r-a-y
Message:

Nouveau: Fix activity comments display in the activity stream.

Fixes #7857 (trunk).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/js/buddypress-activity.js

    r12082 r12130  
    352352
    353353                // 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 ) {
    355355                    $( comment_parents ).children( 'li' ).removeClass( 'bp-hidden' ).toggle();
    356356                }
Note: See TracChangeset for help on using the changeset viewer.