Skip to content

Commit

Permalink
PROD-8092 Update the conditions supporting the media theatre
Browse files Browse the repository at this point in the history
  • Loading branch information
bb-yudhisthir committed Jan 1, 2025
1 parent 6d6c5b5 commit ea88c4f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/bp-templates/bp-nouveau/js/buddypress-activity.js
Original file line number Diff line number Diff line change
Expand Up @@ -965,9 +965,9 @@ window.bp = window.bp || {};

// Add flag for ajax load for getting reactions.
if ( 'activity_comment' === item_type ) {
$( '#acomment' + '-' + item_id ).find( '.activity-state-reactions' ).parent().addClass( 'bb-has-reaction_update' );
} else {
$( '#' + item_type + '-' + item_id ).find( '.activity-state-reactions' ).parent().addClass( 'bb-has-reaction_update' );
$( '.activity-comment[data-bp-activity-comment-id=' + item_id + '] > .acomment-display > .acomment_inner' ).find( '.activity-state-reactions' ).parent().addClass( 'bb-has-reaction_update' );
} else if ( 'activity' === item_type ) {
$( '.activity[data-bp-activity-id=' + item_id + '] > .activity-content' ).find( '.activity-state-reactions' ).parent().addClass( 'bb-has-reaction_update' );
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/bp-templates/bp-nouveau/js/buddypress-activity.min.js

Large diffs are not rendered by default.

0 comments on commit ea88c4f

Please sign in to comment.