diff --git src/bp-templates/bp-nouveau/buddypress/activity/activity-loop.php src/bp-templates/bp-nouveau/buddypress/activity/activity-loop.php
index 93bd669f6..1541c3b40 100644
|
|
bp_nouveau_before_loop(); ?> |
7 | 7 | |
8 | 8 | <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?> |
9 | 9 | |
10 | | <ul class="activity-list item-list bp-list" > |
| 10 | <?php if ( empty( $_POST['page'] ) || 1 === (int) $_POST['page'] ) : ?> |
| 11 | <ul class="activity-list item-list bp-list"> |
| 12 | <?php endif; ?> |
11 | 13 | |
12 | 14 | <?php |
13 | 15 | while ( bp_activities() ) : |
… |
… |
bp_nouveau_before_loop(); ?> |
26 | 28 | |
27 | 29 | <?php endif; ?> |
28 | 30 | |
29 | | </ul> |
| 31 | <?php if ( empty( $_POST['page'] ) || 1 === (int) $_POST['page'] ) : ?> |
| 32 | </ul> |
| 33 | <?php endif; ?> |
30 | 34 | |
31 | 35 | <?php else : ?> |
32 | 36 | |
diff --git src/bp-templates/bp-nouveau/js/buddypress-activity.js src/bp-templates/bp-nouveau/js/buddypress-activity.js
index f5a07aeca..882a9f8ff 100644
|
|
window.bp = window.bp || {}; |
303 | 303 | search_terms : search_terms, |
304 | 304 | page : next_page, |
305 | 305 | method : 'append', |
306 | | exclude_just_posted : this.just_posted.join( ',' ) |
| 306 | exclude_just_posted : this.just_posted.join( ',' ), |
| 307 | target : '#buddypress [data-bp-list] ul.bp-list' |
307 | 308 | } ).done( function( response ) { |
308 | 309 | if ( true === response.success ) { |
309 | 310 | $( event.currentTarget ).remove(); |