Change PasswordPrompt.close
to an async
method
This is consistent with the `open` method, and it actually *ever so slightly* reduces the size of the file.
This commit is contained in:
parent
2dececf445
commit
996396a914
@ -81,10 +81,9 @@ class PasswordPrompt {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
async close() {
|
||||||
this.overlayManager.close(this.overlayName).then(() => {
|
await this.overlayManager.close(this.overlayName);
|
||||||
this.input.value = "";
|
this.input.value = "";
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#verify() {
|
#verify() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user