Ticket #7291: 7291.01.patch
File 7291.01.patch, 668 bytes (added by , 8 years ago) |
---|
-
src/bp-templates/bp-legacy/js/buddypress.js
876 876 877 877 /* When a navigation tab is clicked - e.g. | All Groups | My Groups | */ 878 878 jq('div.item-list-tabs').on( 'click', function(event) { 879 // If on a directory page with a type filter, add no-ajax class. 880 if ( jq( 'body' ).hasClass( 'type' ) && jq( 'body' ).hasClass( 'directory' ) ) { 881 jq(this).addClass( 'no-ajax' ); 882 } 883 879 884 if ( jq(this).hasClass('no-ajax') || jq( event.target ).hasClass('no-ajax') ) { 880 885 return; 881 886 }