Skip to content
Snippets Groups Projects
Commit 0739ae00 authored by syuilo's avatar syuilo
Browse files

Improve usability

parent eaa92e78
No related branches found
No related tags found
No related merge requests found
......@@ -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
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment