diff --git bp-themes/bp-default/_inc/global.js bp-themes/bp-default/_inc/global.js
index 0f417bb..d55e8e3 100644
|
|
|
jq(document).ready( function() { |
| 887 | 887 | }); |
| 888 | 888 | |
| 889 | 889 | /* Add / Remove friendship buttons */ |
| 890 | | jq(".friendship-button a").on('click', function() { |
| | 890 | jq('#members-dir-list').on('click', '.friendship-button a', function() { |
| | 891 | console.log('foo'); |
| 891 | 892 | jq(this).parent().addClass('loading'); |
| 892 | 893 | var fid = jq(this).attr('id'); |
| 893 | 894 | fid = fid.split('-'); |
| … |
… |
jq(document).ready( function() { |
| 937 | 938 | |
| 938 | 939 | /** Group Join / Leave Buttons **************************************/ |
| 939 | 940 | |
| 940 | | jq(".group-button a").on('click', function() { |
| | 941 | jq('#groups-dir-list').on('click', '.group-button a', function() { |
| 941 | 942 | var gid = jq(this).parent().attr('id'); |
| 942 | 943 | gid = gid.split('-'); |
| 943 | 944 | gid = gid[1]; |