commento.js: preserve login button on failed oauth logins
This commit is contained in:
parent
cd8a2bbf99
commit
cc00387136
@ -1395,7 +1395,10 @@
|
||||
attrSet(loggedContainer, "style", "");
|
||||
}
|
||||
|
||||
remove($(ID_LOGIN));
|
||||
if (commenterTokenGet() !== "anonymous") {
|
||||
remove($(ID_LOGIN));
|
||||
}
|
||||
|
||||
if (id !== null) {
|
||||
global.commentNew(id, resp.commenterToken, function() {
|
||||
global.loginBoxClose();
|
||||
|
Loading…
Reference in New Issue
Block a user