Ticket #5528: activity.patch
File activity.patch, 781 bytes (added by , 11 years ago) |
---|
-
bp-templates/bp-legacy/js/buddypress.js
112 112 var content = jq("#whats-new").val(); 113 113 var firstrow = jq( '#buddypress ul.activity-list li' ).first(); 114 114 var activity_row = firstrow; 115 var timestamp = false 115 116 116 117 if ( activity_row.hasClass( 'load-newest' ) ) { 117 118 activity_row = firstrow.next(); 118 119 } 119 120 timestamp = activity_row.prop( 'class' ).match( /date-recorded-([0-9]+)/ );120 if( activity_row.prop( 'class' ) ) 121 timestamp = activity_row.prop( 'class' ).match( /date-recorded-([0-9]+)/ ); 121 122 122 123 if ( timestamp ) { 123 124 last_date_recorded = timestamp[1];