From 374c6b2d2ab21af2c7757ef86b2fa1269b185b0d Mon Sep 17 00:00:00 2001 From: depreciate Date: Fri, 1 Mar 2019 22:59:56 +1030 Subject: [PATCH] lets just do this for now --- static/profile.js | 3 ++- static/profile_auto.js | 4 +++- static/profile_relax.js | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/static/profile.js b/static/profile.js index 9f82408..53fe798 100644 --- a/static/profile.js +++ b/static/profile.js @@ -39,6 +39,7 @@ $(document).ready(function() { }); }); +/* function initialiseAchievements() { api('users/achievements' + (currentUserID == userID ? '?all' : ''), {id: userID}, function (resp) { @@ -101,7 +102,7 @@ function initialiseAchievements() { displayAchievements(8, true); }); } - +*/ function initialiseFriends() { var b = $("#add-friend-button"); if (b.length == 0) return; diff --git a/static/profile_auto.js b/static/profile_auto.js index 94eb47a..f58560b 100644 --- a/static/profile_auto.js +++ b/static/profile_auto.js @@ -39,6 +39,8 @@ $(document).ready(function() { }); }); + +/* function initialiseAchievements() { api('users/achievements' + (currentUserID == userID ? '?all' : ''), {id: userID}, function (resp) { @@ -101,7 +103,7 @@ function initialiseAchievements() { displayAchievements(8, true); }); } - +*/ function initialiseFriends() { var b = $("#add-friend-button"); if (b.length == 0) return; diff --git a/static/profile_relax.js b/static/profile_relax.js index 6f8ca2c..56660b5 100644 --- a/static/profile_relax.js +++ b/static/profile_relax.js @@ -39,6 +39,7 @@ $(document).ready(function() { }); }); +/* function initialiseAchievements() { api('users/achievements' + (currentUserID == userID ? '?all' : ''), {id: userID}, function (resp) { @@ -101,7 +102,7 @@ function initialiseAchievements() { displayAchievements(8, true); }); } - +*/ function initialiseFriends() { var b = $("#add-friend-button"); if (b.length == 0) return;