summaryrefslogtreecommitdiff
path: root/src/client/ui
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2021-02-17 21:34:20 +0900
committersyuilo <syuilotan@yahoo.co.jp>2021-02-17 21:34:20 +0900
commit10cd4754fd5b1e30e46bfdeb0ad43901b6fbd449 (patch)
tree45993e72fc830697672cf3121242406d1fffebec /src/client/ui
parentwip (diff)
downloadsharkey-10cd4754fd5b1e30e46bfdeb0ad43901b6fbd449.tar.gz
sharkey-10cd4754fd5b1e30e46bfdeb0ad43901b6fbd449.tar.bz2
sharkey-10cd4754fd5b1e30e46bfdeb0ad43901b6fbd449.zip
リファクタ等
Diffstat (limited to 'src/client/ui')
-rw-r--r--src/client/ui/chat/post-form.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/ui/chat/post-form.vue b/src/client/ui/chat/post-form.vue
index 833c4b4069..38fe48cc62 100644
--- a/src/client/ui/chat/post-form.vue
+++ b/src/client/ui/chat/post-form.vue
@@ -64,6 +64,7 @@ import { noteVisibilities } from '../../../types';
import * as os from '@/os';
import { selectFile } from '@/scripts/select-file';
import { notePostInterruptors, postFormActions } from '@/store';
+import { isMobile } from '@/scripts/is-mobile';
export default defineComponent({
components: {
@@ -541,7 +542,7 @@ export default defineComponent({
localOnly: this.localOnly,
visibility: this.visibility,
visibleUserIds: this.visibility == 'specified' ? this.visibleUsers.map(u => u.id) : undefined,
- viaMobile: os.isMobile
+ viaMobile: isMobile
};
// plugin