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() {
|
||||
this.overlayManager.close(this.overlayName).then(() => {
|
||||
this.input.value = "";
|
||||
});
|
||||
async close() {
|
||||
await this.overlayManager.close(this.overlayName);
|
||||
this.input.value = "";
|
||||
}
|
||||
|
||||
#verify() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user