Skip to:
Content

BuddyPress.org

Changeset 11992


Ignore:
Timestamp:
04/26/2018 05:01:25 PM (4 years ago)
Author:
imath
Message:

BP Nouveau: the newest link must be inserted into the activity stream

Fixes #7768

File:
1 edited

Legend:

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

    r11909 r11992  
    202202            // Otherwise add it
    203203            } else {
    204                 $( '#buddypress [data-bp-list="activity"]' ).prepend( '<li class="load-newest"><a href="#newest">' + BP_Nouveau.newest + ' (' + newest_activities_count + ')</a></li>' );
     204                $( '#buddypress [data-bp-list="activity"] ul.activity-list' ).prepend( '<li class="load-newest"><a href="#newest">' + BP_Nouveau.newest + ' (' + newest_activities_count + ')</a></li>' );
    205205            }
    206206
Note: See TracChangeset for help on using the changeset viewer.