mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-19 00:59:05 +09:00
スマホでデスクトップモードにできないように
This commit is contained in:
parent
19f4812c03
commit
4299e3f90c
@ -48,6 +48,12 @@ export default defineComponent({
|
||||
},
|
||||
},
|
||||
|
||||
created() {
|
||||
if (window.innerWidth < 1024) {
|
||||
localStorage.setItem('ui', 'default');
|
||||
location.reload();
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
help() {
|
||||
|
Loading…
Reference in New Issue
Block a user