hacks and fixes

This commit is contained in:
Ginger Wong
2020-06-15 00:15:23 -07:00
parent f864e57340
commit cef9bc7adb
3 changed files with 57 additions and 0 deletions

View File

@@ -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;
}