Skip to:
Content

BuddyPress.org

Ticket #7790: 7790.patch

File 7790.patch, 643 bytes (added by imath, 6 years ago)
  • src/bp-templates/bp-nouveau/js/buddypress-activity.js

    diff --git src/bp-templates/bp-nouveau/js/buddypress-activity.js src/bp-templates/bp-nouveau/js/buddypress-activity.js
    index a8e6dcd52..e47543c2b 100644
    window.bp = window.bp || {}; 
    384384                        // Make sure to only keep 5 root comments
    385385                        this.hideComments( event );
    386386
     387                        // Reset the pagination for the scope.
     388                        this.current_page = 1;
     389
    387390                        // Mentions are specific
    388391                        if ( 'mentions' === data.scope && undefined !== data.response.new_mentions ) {
    389392                                $.each( data.response.new_mentions, function( i, id ) {