From bbbea34d7d294e9ad4fe3723982a669f0ac05c2a Mon Sep 17 00:00:00 2001 From: Jack Date: Fri, 22 May 2020 12:00:23 +0100 Subject: [PATCH] fixed menu button not changing back to login when logging out. fixes #50 --- public/js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/script.js b/public/js/script.js index 6494d3509..466e65520 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -791,7 +791,7 @@ function updateAccountLoginButton() { // $("#menu .button.account").removeClass('hidden'); // $("#menu .button.login").addClass('hidden'); } else { - swapElements($("#menu .button.login"), $("#menu .button.account"), 250); + swapElements($("#menu .button.account"), $("#menu .button.login"), 250); // $("#menu .button.login").removeClass('hidden'); // $("#menu .button.account").addClass('hidden'); }