Ott 1531 ios fullscreen (#460)
* fix: console nested li error * fix(1531): full screen mode on ios * fix: removed redundant tab indexkeep-around/af30b88d367751c9e05a735e4a0467a96238ef47
parent
47d202d4b8
commit
e0d83a0eab
@ -1,5 +1,7 @@ |
|||||||
import { includes } from 'lodash' |
import { includes } from 'lodash' |
||||||
|
|
||||||
export const isMobileDevice = includes(window.navigator.userAgent, 'Android') || includes(window.navigator.userAgent, 'iPhone') |
export const isIphone = includes(window.navigator.userAgent, 'iPhone') |
||||||
|
|
||||||
|
export const isMobileDevice = includes(window.navigator.userAgent, 'Android') || isIphone |
||||||
// удалю когда закончу с адаптивом.
|
// удалю когда закончу с адаптивом.
|
||||||
// || includes(window.navigator.userAgent, 'Linux')
|
// || includes(window.navigator.userAgent, 'Linux')
|
||||||
|
|||||||
Loading…
Reference in new issue