mirror of
https://gitlab.com/commento/commento.git
synced 2026-11-01 01:16:21 -05:00
commento.js: preserve login button on failed oauth logins
This commit is contained in:
1 parent
cd8a2bbf99
commit
cc00387136
1 file changed
+4
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user