diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-10-12 14:34:54 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-10-12 14:34:54 +0900 |
| commit | 9b253ccb3a122384ba3bfbdbe777b47c7a6b407c (patch) | |
| tree | d32e4504f27a3eace542b00adaf718e4a04d38cc /src/client/app/mobile/api | |
| parent | Refactor and usability improvements (diff) | |
| download | misskey-9b253ccb3a122384ba3bfbdbe777b47c7a6b407c.tar.gz misskey-9b253ccb3a122384ba3bfbdbe777b47c7a6b407c.tar.bz2 misskey-9b253ccb3a122384ba3bfbdbe777b47c7a6b407c.zip | |
Refactor
Diffstat (limited to 'src/client/app/mobile/api')
| -rw-r--r-- | src/client/app/mobile/api/post.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/app/mobile/api/post.ts b/src/client/app/mobile/api/post.ts index 5c0f0af852..1077dc7a0d 100644 --- a/src/client/app/mobile/api/post.ts +++ b/src/client/app/mobile/api/post.ts @@ -18,6 +18,7 @@ export default (os) => (opts) => { }).$mount(); vm.$once('cancel', recover); vm.$once('posted', recover); + if (opts.cb) vm.$once('closed', opts.cb); document.body.appendChild(vm.$el); (vm as any).focus(); }; |