commento.js: fix disappearing logout button
Fixes https://gitlab.com/commento/commento/issues/135
This commit is contained in:
parent
672863b48f
commit
86393ad9ab
@ -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);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user