lets just do this for now

This commit is contained in:
depreciate 2019-03-01 22:59:56 +10:30
parent 6ad06560fe
commit 374c6b2d2a
3 changed files with 7 additions and 3 deletions

View File

@ -39,6 +39,7 @@ $(document).ready(function() {
}); });
}); });
/*
function initialiseAchievements() { function initialiseAchievements() {
api('users/achievements' + (currentUserID == userID ? '?all' : ''), api('users/achievements' + (currentUserID == userID ? '?all' : ''),
{id: userID}, function (resp) { {id: userID}, function (resp) {
@ -101,7 +102,7 @@ function initialiseAchievements() {
displayAchievements(8, true); displayAchievements(8, true);
}); });
} }
*/
function initialiseFriends() { function initialiseFriends() {
var b = $("#add-friend-button"); var b = $("#add-friend-button");
if (b.length == 0) return; if (b.length == 0) return;

View File

@ -39,6 +39,8 @@ $(document).ready(function() {
}); });
}); });
/*
function initialiseAchievements() { function initialiseAchievements() {
api('users/achievements' + (currentUserID == userID ? '?all' : ''), api('users/achievements' + (currentUserID == userID ? '?all' : ''),
{id: userID}, function (resp) { {id: userID}, function (resp) {
@ -101,7 +103,7 @@ function initialiseAchievements() {
displayAchievements(8, true); displayAchievements(8, true);
}); });
} }
*/
function initialiseFriends() { function initialiseFriends() {
var b = $("#add-friend-button"); var b = $("#add-friend-button");
if (b.length == 0) return; if (b.length == 0) return;

View File

@ -39,6 +39,7 @@ $(document).ready(function() {
}); });
}); });
/*
function initialiseAchievements() { function initialiseAchievements() {
api('users/achievements' + (currentUserID == userID ? '?all' : ''), api('users/achievements' + (currentUserID == userID ? '?all' : ''),
{id: userID}, function (resp) { {id: userID}, function (resp) {
@ -101,7 +102,7 @@ function initialiseAchievements() {
displayAchievements(8, true); displayAchievements(8, true);
}); });
} }
*/
function initialiseFriends() { function initialiseFriends() {
var b = $("#add-friend-button"); var b = $("#add-friend-button");
if (b.length == 0) return; if (b.length == 0) return;