mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-28 01:40:12 +01:00
mark popup complete functions as async
This commit is contained in:
parent
379a4d1e4d
commit
7bb94732dd
@ -511,14 +511,14 @@ export class Popup {
|
||||
|
||||
return this.#promise;
|
||||
}
|
||||
completeAffirmative() {
|
||||
return this.complete(POPUP_RESULT.AFFIRMATIVE);
|
||||
async completeAffirmative() {
|
||||
return await this.complete(POPUP_RESULT.AFFIRMATIVE);
|
||||
}
|
||||
completeNegative() {
|
||||
return this.complete(POPUP_RESULT.NEGATIVE);
|
||||
async completeNegative() {
|
||||
return await this.complete(POPUP_RESULT.NEGATIVE);
|
||||
}
|
||||
completeCancelled() {
|
||||
return this.complete(POPUP_RESULT.CANCELLED);
|
||||
async completeCancelled() {
|
||||
return await this.complete(POPUP_RESULT.CANCELLED);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user