mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 02:03:09 +02:00
Improve usability
This commit is contained in:
parent
eaa92e784d
commit
0739ae006d
1 changed files with 1 additions and 2 deletions
|
@ -315,8 +315,7 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
const isIos = navigator.userAgent.includes('WebKit') && !navigator.userAgent.includes('Chrome');
|
if (!os.isMobile) {
|
||||||
if (!isIos) {
|
|
||||||
this.$refs.search.focus({
|
this.$refs.search.focus({
|
||||||
preventScroll: true
|
preventScroll: true
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue