From 86393ad9aba7d6467a074b9207b5202146bf7383 Mon Sep 17 00:00:00 2001 From: Adhityaa Chandrasekar Date: Sat, 13 Apr 2019 21:29:06 -0400 Subject: [PATCH] commento.js: fix disappearing logout button Fixes https://gitlab.com/commento/commento/issues/135 --- frontend/js/commento.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/js/commento.js b/frontend/js/commento.js index cc10ed3..32e1968 100644 --- a/frontend/js/commento.js +++ b/frontend/js/commento.js @@ -297,6 +297,7 @@ } selfLoad(resp.commenter); + global.allShow(); call(callback); }); @@ -1307,10 +1308,7 @@ cookieSet("commentoCommenterToken", resp.commenterToken); selfLoad(resp.commenter); - var loggedContainer = $(ID_LOGGED_CONTAINER); - if (loggedContainer) { - attrSet(loggedContainer, "style", ""); - } + global.allShow(); remove($(ID_LOGIN)); if (id !== null) { @@ -1657,6 +1655,7 @@ attrSet(root, "style", ""); nameWidthFix(); loadHash(); + global.allShow(); call(callback); }); });