mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 13:53:38 +02:00
Fix auto-downloads not happening after forced log in
This commit is contained in:
parent
0ddc1271b2
commit
df5d115db7
1 changed files with 2 additions and 1 deletions
|
@ -149,7 +149,8 @@
|
||||||
$("a.btn.cancel").click();
|
$("a.btn.cancel").click();
|
||||||
history.back(); // Remove history item created by clicking "download".
|
history.back(); // Remove history item created by clicking "download".
|
||||||
};
|
};
|
||||||
} else {
|
} else if ($("div#view-signup_login_dialog").length === 0) {
|
||||||
|
// Don't stop checking for button if user is asked to log in.
|
||||||
clearInterval(downloadTimer);
|
clearInterval(downloadTimer);
|
||||||
downloadTimer = null;
|
downloadTimer = null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue