Skip to:
Content

BuddyPress.org

Changeset 11909


Ignore:
Timestamp:
03/23/2018 11:39:35 AM (6 years ago)
Author:
djpaul
Message:

Templates, Nouveau: fix Activity heartbeat JS inserting new items in wrong place.

Fixes #7692

Props boonebgorges

File:
1 edited

Legend:

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

    r11860 r11909  
    243243
    244244                // Now the stream is cleaned, prepend newest
    245                 $( event.delegateTarget ).prepend( this.heartbeat_data.newest ).trigger( 'bp_heartbeat_prepend', this.heartbeat_data );
     245                $( event.delegateTarget ).find( '.activity-list' ).prepend( this.heartbeat_data.newest ).trigger( 'bp_heartbeat_prepend', this.heartbeat_data );
    246246
    247247                // Reset the newest activities now they're displayed
Note: See TracChangeset for help on using the changeset viewer.