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)};