This commit is contained in:
depreciate 2019-03-01 23:01:14 +10:30
parent 374c6b2d2a
commit 8c28f4497a
3 changed files with 4 additions and 3 deletions

View File

@ -27,7 +27,7 @@ $(document).ready(function() {
$(this).addClass("active"); $(this).addClass("active");
window.history.replaceState('', document.title, wl.pathname + "?mode=" + m + wl.hash); window.history.replaceState('', document.title, wl.pathname + "?mode=" + m + wl.hash);
}); });
initialiseAchievements(); //initialiseAchievements();
initialiseFriends(); initialiseFriends();
// load scores page for the current favourite mode // load scores page for the current favourite mode
var i = function(){initialiseScores($("#scores-zone>div[data-mode=" + favouriteMode + "]"), favouriteMode)}; var i = function(){initialiseScores($("#scores-zone>div[data-mode=" + favouriteMode + "]"), favouriteMode)};

View File

@ -27,7 +27,7 @@ $(document).ready(function() {
$(this).addClass("active"); $(this).addClass("active");
window.history.replaceState('', document.title, wl.pathname + "?mode=" + m + wl.hash); window.history.replaceState('', document.title, wl.pathname + "?mode=" + m + wl.hash);
}); });
initialiseAchievements(); //initialiseAchievements();
initialiseFriends(); initialiseFriends();
// load scores page for the current favourite mode // load scores page for the current favourite mode
var i = function(){initialiseScores($("#scores-zone>div[data-mode=" + favouriteMode + "]"), favouriteMode)}; var i = function(){initialiseScores($("#scores-zone>div[data-mode=" + favouriteMode + "]"), favouriteMode)};
@ -104,6 +104,7 @@ function initialiseAchievements() {
}); });
} }
*/ */
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

@ -27,7 +27,7 @@ $(document).ready(function() {
$(this).addClass("active"); $(this).addClass("active");
window.history.replaceState('', document.title, wl.pathname + "?mode=" + m + wl.hash); window.history.replaceState('', document.title, wl.pathname + "?mode=" + m + wl.hash);
}); });
initialiseAchievements(); //initialiseAchievements();
initialiseFriends(); initialiseFriends();
// load scores page for the current favourite mode // load scores page for the current favourite mode
var i = function(){initialiseScores($("#scores-zone>div[data-mode=" + favouriteMode + "]"), favouriteMode)}; var i = function(){initialiseScores($("#scores-zone>div[data-mode=" + favouriteMode + "]"), favouriteMode)};