aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/javascripts
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts')
-rw-r--r--public/javascripts/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/public/javascripts/index.js b/public/javascripts/index.js
index 5d42f02e0..3a02367c8 100644
--- a/public/javascripts/index.js
+++ b/public/javascripts/index.js
@@ -58,6 +58,11 @@
58 url: '/api/v1/pods/makefriends', 58 url: '/api/v1/pods/makefriends',
59 type: 'GET', 59 type: 'GET',
60 dataType: 'json', 60 dataType: 'json',
61 statusCode: {
62 409: function () {
63 alert('Already made friends.')
64 }
65 },
61 success: function () { 66 success: function () {
62 alert('Made friends!') 67 alert('Made friends!')
63 } 68 }