Remove lag when displaying loading screen in login and register
This commit is contained in:
1 parent
599afa4fc5
commit
22f130d948
2 files changed
+4
-6
No files matched your search
@@ -53,12 +53,8 @@ define([
|
||||
$('button.login').click();
|
||||
});
|
||||
|
||||
var hashing = false;
|
||||
var test;
|
||||
$('button.login').click(function () {
|
||||
if (hashing) { return void console.log("hashing is already in progress"); }
|
||||
|
||||
hashing = true;
|
||||
var shouldImport = $checkImport[0].checked;
|
||||
var uname = $uname.val();
|
||||
var passwd = $passwd.val();
|
||||
|
||||
Reference in new issue
Block a user