diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-11-18 11:21:35 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-11-18 11:21:35 +0900 |
| commit | 0739ae006d016fc10d8c0853d1f3c55ee2a674ad (patch) | |
| tree | bf32086bc2dfda8a1dd51a1d527a9fdfaa40fc2f /src/client/components | |
| parent | Resolve #6840 (diff) | |
| download | sharkey-0739ae006d016fc10d8c0853d1f3c55ee2a674ad.tar.gz sharkey-0739ae006d016fc10d8c0853d1f3c55ee2a674ad.tar.bz2 sharkey-0739ae006d016fc10d8c0853d1f3c55ee2a674ad.zip | |
Improve usability
Diffstat (limited to 'src/client/components')
| -rw-r--r-- | src/client/components/emoji-picker.vue | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/components/emoji-picker.vue b/src/client/components/emoji-picker.vue index 5cfd97e374..2cf8add506 100644 --- a/src/client/components/emoji-picker.vue +++ b/src/client/components/emoji-picker.vue @@ -315,8 +315,7 @@ export default defineComponent({ }, mounted() { - const isIos = navigator.userAgent.includes('WebKit') && !navigator.userAgent.includes('Chrome'); - if (!isIos) { + if (!os.isMobile) { this.$refs.search.focus({ preventScroll: true }); |