hacks and fixes
This commit is contained in:
@@ -46,4 +46,10 @@ function setVHvar() {
|
||||
function mobileVHhack() {
|
||||
setVHvar();
|
||||
window.addEventListener("orientationchange", setVHvar);
|
||||
}
|
||||
|
||||
function isAndroidMobile() {
|
||||
var isAndroid = navigator.userAgent.toLowerCase().indexOf("android") > -1;
|
||||
//&& ua.indexOf("mobile");
|
||||
return isAndroid;
|
||||
}
|
||||
Reference in New Issue
Block a user