commento.js: fix disappearing logout button

Fixes https://gitlab.com/commento/commento/issues/135
This commit is contained in:
Adhityaa Chandrasekar 2019-04-13 21:29:06 -04:00
parent 672863b48f
commit 86393ad9ab

View File

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