From 8c28f4497a52ca6b2b609ebcb0d675920ce732d0 Mon Sep 17 00:00:00 2001 From: depreciate Date: Fri, 1 Mar 2019 23:01:14 +1030 Subject: [PATCH] d --- static/profile.js | 2 +- static/profile_auto.js | 3 ++- static/profile_relax.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/static/profile.js b/static/profile.js index 53fe798..573e537 100644 --- a/static/profile.js +++ b/static/profile.js @@ -27,7 +27,7 @@ $(document).ready(function() { $(this).addClass("active"); window.history.replaceState('', document.title, wl.pathname + "?mode=" + m + wl.hash); }); - initialiseAchievements(); + //initialiseAchievements(); initialiseFriends(); // load scores page for the current favourite mode var i = function(){initialiseScores($("#scores-zone>div[data-mode=" + favouriteMode + "]"), favouriteMode)}; diff --git a/static/profile_auto.js b/static/profile_auto.js index f58560b..215290a 100644 --- a/static/profile_auto.js +++ b/static/profile_auto.js @@ -27,7 +27,7 @@ $(document).ready(function() { $(this).addClass("active"); window.history.replaceState('', document.title, wl.pathname + "?mode=" + m + wl.hash); }); - initialiseAchievements(); + //initialiseAchievements(); initialiseFriends(); // load scores page for the current favourite mode var i = function(){initialiseScores($("#scores-zone>div[data-mode=" + favouriteMode + "]"), favouriteMode)}; @@ -104,6 +104,7 @@ function initialiseAchievements() { }); } */ + 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 56660b5..0e4ae41 100644 --- a/static/profile_relax.js +++ b/static/profile_relax.js @@ -27,7 +27,7 @@ $(document).ready(function() { $(this).addClass("active"); window.history.replaceState('', document.title, wl.pathname + "?mode=" + m + wl.hash); }); - initialiseAchievements(); + //initialiseAchievements(); initialiseFriends(); // load scores page for the current favourite mode var i = function(){initialiseScores($("#scores-zone>div[data-mode=" + favouriteMode + "]"), favouriteMode)};