mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-21 07:36:38 +02:00
Fix loading disappearing too soon
This commit is contained in:
parent
7e332b817d
commit
d4a23ffc98
|
@ -1637,7 +1637,8 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
|
|||
flex-grow: 0;
|
||||
}
|
||||
|
||||
#loading .logo-inverted {
|
||||
#loading .logo-inverted,
|
||||
#windows .logo-inverted {
|
||||
display: none; /* In dark themes, inverted logo must be used instead */
|
||||
}
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@ socket.on("auth", function(data) {
|
|||
if (data.serverHash > -1) {
|
||||
utils.serverHash = data.serverHash;
|
||||
|
||||
$("#loading").remove();
|
||||
login.html(templates.windows.sign_in());
|
||||
|
||||
utils.togglePasswordField("#sign-in .reveal-password");
|
||||
|
@ -81,6 +80,7 @@ socket.on("auth", function(data) {
|
|||
return;
|
||||
}
|
||||
|
||||
$("#loading").remove();
|
||||
$("#footer")
|
||||
.find(".sign-in")
|
||||
.trigger("click", {
|
||||
|
|
Loading…
Reference in a new issue