diff --git a/README.md b/README.md index 4caf655..05d2f90 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ Manual install for init-d systems ## New WEB UI (in beta) +* Doesn't work in MS Edge or MS Exploder browsers. (Firefox, Chrome, Safari & mobile versions of each) all seem to be fine. * use http://aqualink.ip.address/hk/ to access new UI * look in `/web/hk` hopefully customizing icon and background images are self explanatory. * icons should be around 50x50 pixles and in PNG format, background any size in JPG or just delete the file if you want solid color. diff --git a/web/hk/index.html b/web/hk/index.html index 35b3f4a..3e796b7 100644 --- a/web/hk/index.html +++ b/web/hk/index.html @@ -416,17 +416,18 @@ if (w > h) _landscape = true; else - _landscape - false; + _landscape = false; /* Future change element sizes here if needed */ window.addEventListener("orientationchange", function() { var w = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); var h = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); - if (w > h) + // Have no idea why this is reversed, but w is less then h in landscape when captured here. + if (w < h) _landscape = true; else - _landscape - false; + _landscape = false; }, false); } @@ -1028,13 +1029,7 @@ -
- +