mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-28 22:55:39 -04:00
commento.js: fix disappearing logout button
Fixes https://gitlab.com/commento/commento/issues/135
This commit is contained in:
@ -297,6 +297,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
selfLoad(resp.commenter);
|
selfLoad(resp.commenter);
|
||||||
|
global.allShow();
|
||||||
|
|
||||||
call(callback);
|
call(callback);
|
||||||
});
|
});
|
||||||
@ -1307,10 +1308,7 @@
|
|||||||
cookieSet("commentoCommenterToken", resp.commenterToken);
|
cookieSet("commentoCommenterToken", resp.commenterToken);
|
||||||
|
|
||||||
selfLoad(resp.commenter);
|
selfLoad(resp.commenter);
|
||||||
var loggedContainer = $(ID_LOGGED_CONTAINER);
|
global.allShow();
|
||||||
if (loggedContainer) {
|
|
||||||
attrSet(loggedContainer, "style", "");
|
|
||||||
}
|
|
||||||
|
|
||||||
remove($(ID_LOGIN));
|
remove($(ID_LOGIN));
|
||||||
if (id !== null) {
|
if (id !== null) {
|
||||||
@ -1657,6 +1655,7 @@
|
|||||||
attrSet(root, "style", "");
|
attrSet(root, "style", "");
|
||||||
nameWidthFix();
|
nameWidthFix();
|
||||||
loadHash();
|
loadHash();
|
||||||
|
global.allShow();
|
||||||
call(callback);
|
call(callback);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user