From db9dac71b874782b37c47ab0029344affe1b7561 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Mon, 11 Sep 2023 21:48:07 +0300 Subject: Some comments --- src/js/app.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/js/app.js') diff --git a/src/js/app.js b/src/js/app.js index e246a19..86f201b 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -1,6 +1,13 @@ // Irrelevant for now if (DEBUG) console.log(window.location); + +/* + * Body and pageLayout resizer to device's resolution. + * + * TODO: Figure out why it doesn't work in fullscreen App mode (android) + * + */ body.width = window.innerWidth; body.height = window.innerHeight; pageLayout.width = window.innerWidth; -- cgit v1.2.3