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", "");
|
attrSet(loggedContainer, "style", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (commenterTokenGet() !== "anonymous") {
|
||||||
remove($(ID_LOGIN));
|
remove($(ID_LOGIN));
|
||||||
|
}
|
||||||
|
|
||||||
if (id !== null) {
|
if (id !== null) {
|
||||||
global.commentNew(id, resp.commenterToken, function() {
|
global.commentNew(id, resp.commenterToken, function() {
|
||||||
global.loginBoxClose();
|
global.loginBoxClose();
|
||||||
|
Loading…
Reference in New Issue
Block a user