Changeset 12034
- Timestamp:
- 05/01/2018 09:30:06 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/js/buddypress-activity.js
r12033 r12034 403 403 // Reset the newest activities now they're displayed 404 404 this.heartbeat_data.newest = ''; 405 $( bp.Nouveau.objectNavParent + ' [data-bp-scope="all"]' ).find( 'a span' ).html( '' ); 405 $.each( $( bp.Nouveau.objectNavParent + ' [data-bp-scope]' ).find( 'a span' ), function( s, count ) { 406 if ( 0 === parseInt( $( count ).html(), 10 ) ) { 407 $( count ).html( '' ); 408 } 409 } ); 406 410 407 411 // Activities are now loaded, clear the highlighted activities for the scope
Note: See TracChangeset
for help on using the changeset viewer.