aboutsummaryrefslogtreecommitdiff
path: root/src/js/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/app.js')
-rw-r--r--src/js/app.js7
1 files changed, 7 insertions, 0 deletions
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;