Skip to:
Content

BuddyPress.org

Ticket #4897: 4897.diff

File 4897.diff, 1.2 KB (added by imath, 12 years ago)
  • bp-themes/bp-default/_inc/global.js

     
    103103
    104104                                jq("ul#activity-stream").prepend(response);
    105105                                jq("ul#activity-stream li:first").addClass('new-update');
     106                               
     107                                if( jq("#activity-stream li.load-more").length )
     108                                        jq("#activity-stream li.load-more").prev().remove();
    106109
    107110                                if ( 0 != jq("#latest-update").length ) {
    108111                                        var l = jq("ul#activity-stream li.new-update .activity-content .activity-inner p").html();
  • bp-templates/bp-legacy/js/buddypress.js

     
    103103
    104104                                jq("#activity-stream").prepend(response);
    105105                                jq("#activity-stream li:first").addClass('new-update');
     106                               
     107                                if( jq("#activity-stream li.load-more").length )
     108                                        jq("#activity-stream li.load-more").prev().remove();
    106109
    107110                                if ( 0 != jq("#latest-update").length ) {
    108111                                        var l = jq("#activity-stream li.new-update .activity-content .activity-inner p").html();