summaryrefslogtreecommitdiff
path: root/src/client/app/init.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-12-02 15:26:56 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-12-02 15:26:56 +0900
commitbb14895fd8249247be0d89fe053b62be2dfdeabf (patch)
treeaa40b9ad7f54652ae79648e37ecd93c4008f8974 /src/client/app/init.ts
parent:art: (diff)
downloadsharkey-bb14895fd8249247be0d89fe053b62be2dfdeabf.tar.gz
sharkey-bb14895fd8249247be0d89fe053b62be2dfdeabf.tar.bz2
sharkey-bb14895fd8249247be0d89fe053b62be2dfdeabf.zip
[Client] Resolve #2225
Diffstat (limited to 'src/client/app/init.ts')
-rw-r--r--src/client/app/init.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/init.ts b/src/client/app/init.ts
index 7a74311098..e0eef935f5 100644
--- a/src/client/app/init.ts
+++ b/src/client/app/init.ts
@@ -460,7 +460,7 @@ export default (callback: (launch: (router: VueRouter) => [Vue, MiOS]) => void,
alert(opts) {
return new Promise((res) => {
const vm = this.new(Alert, opts);
- vm.$once('ok', () => res(true));
+ vm.$once('ok', result => res(result));
vm.$once('cancel', () => res(false));
});
}