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;
|
flex-grow: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#loading .logo-inverted {
|
#loading .logo-inverted,
|
||||||
|
#windows .logo-inverted {
|
||||||
display: none; /* In dark themes, inverted logo must be used instead */
|
display: none; /* In dark themes, inverted logo must be used instead */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,7 +21,6 @@ socket.on("auth", function(data) {
|
|||||||
if (data.serverHash > -1) {
|
if (data.serverHash > -1) {
|
||||||
utils.serverHash = data.serverHash;
|
utils.serverHash = data.serverHash;
|
||||||
|
|
||||||
$("#loading").remove();
|
|
||||||
login.html(templates.windows.sign_in());
|
login.html(templates.windows.sign_in());
|
||||||
|
|
||||||
utils.togglePasswordField("#sign-in .reveal-password");
|
utils.togglePasswordField("#sign-in .reveal-password");
|
||||||
@ -81,6 +80,7 @@ socket.on("auth", function(data) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$("#loading").remove();
|
||||||
$("#footer")
|
$("#footer")
|
||||||
.find(".sign-in")
|
.find(".sign-in")
|
||||||
.trigger("click", {
|
.trigger("click", {
|
||||||
|
Loading…
Reference in New Issue
Block a user