diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-10-13 01:33:00 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-10-13 01:33:00 +0900 |
| commit | 0ff27f65b33a7cb2785dc1fd4f8b41abbc98a95d (patch) | |
| tree | 45739cbb528185dc992a216f6398afdf971ff6f8 /src/client/app/mobile/api/post.ts | |
| parent | Improve perforance (diff) | |
| download | sharkey-0ff27f65b33a7cb2785dc1fd4f8b41abbc98a95d.tar.gz sharkey-0ff27f65b33a7cb2785dc1fd4f8b41abbc98a95d.tar.bz2 sharkey-0ff27f65b33a7cb2785dc1fd4f8b41abbc98a95d.zip | |
Fix bug
Diffstat (limited to 'src/client/app/mobile/api/post.ts')
| -rw-r--r-- | src/client/app/mobile/api/post.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/mobile/api/post.ts b/src/client/app/mobile/api/post.ts index 1077dc7a0d..a64ed1c43e 100644 --- a/src/client/app/mobile/api/post.ts +++ b/src/client/app/mobile/api/post.ts @@ -18,7 +18,7 @@ export default (os) => (opts) => { }).$mount(); vm.$once('cancel', recover); vm.$once('posted', recover); - if (opts.cb) vm.$once('closed', opts.cb); + if (o.cb) vm.$once('closed', o.cb); document.body.appendChild(vm.$el); (vm as any).focus(); }; |