Ticket #7556: 7556.patch
File 7556.patch, 477 bytes (added by , 8 years ago) |
---|
-
src/bp-core/js/confirm.js
diff --git a/src/bp-core/js/confirm.js b/src/bp-core/js/confirm.js index 902de34..6e22349 100644
a b 2 2 /* global BP_Confirm */ 3 3 4 4 jQuery( document ).ready( function() { 5 jQuery( ' a.confirm').click(function() {5 jQuery( '#buddypress' ).on( 'click', 'a.confirm', function() { 6 6 if ( confirm( BP_Confirm.are_you_sure ) ) { 7 7 return true; 8 8 } else { 9 9 return false; 10 10 } 11 } );12 } );11 } ); 12 } );