diff --git src/bp-templates/bp-nouveau/js/buddypress-nouveau.js src/bp-templates/bp-nouveau/js/buddypress-nouveau.js
index d0334a5dc..576c609c2 100644
|
|
window.bp = window.bp || {}; |
318 | 318 | $( 'html,body' ).animate( { scrollTop: top.offset().top }, 'slow', function() { |
319 | 319 | $( data.target ).fadeOut( 100, function() { |
320 | 320 | self.inject( this, response.data.contents, data.method ); |
321 | | $( this ).fadeIn( 100 ); |
322 | | |
323 | | // Inform other scripts the list of objects has been refreshed. |
324 | | $( data.target ).trigger( 'bp_ajax_request', $.extend( data, { response: response.data } ) ); |
| 321 | $( this ).fadeIn( 100, 'swing', function(){ |
| 322 | // Inform other scripts the list of objects has been refreshed. |
| 323 | $( data.target ).trigger( 'bp_ajax_request', $.extend( data, { response: response.data } ) ); |
| 324 | } ); |
325 | 325 | } ); |
326 | 326 | } ); |
327 | 327 | |
328 | 328 | } else { |
329 | 329 | $( data.target ).fadeOut( 100, function() { |
330 | 330 | self.inject( this, response.data.contents, data.method ); |
331 | | $( this ).fadeIn( 100 ); |
332 | | |
333 | | // Inform other scripts the list of objects has been refreshed. |
334 | | $( data.target ).trigger( 'bp_ajax_request', $.extend( data, { response: response.data } ) ); |
| 331 | $( this ).fadeIn( 100, 'swing', function(){ |
| 332 | // Inform other scripts the list of objects has been refreshed. |
| 333 | $( data.target ).trigger( 'bp_ajax_request', $.extend( data, { response: response.data } ) ); |
| 334 | } ); |
335 | 335 | } ); |
336 | 336 | } |
337 | 337 | } |