aboutsummaryrefslogtreecommitdiff
path: root/src/client/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/js')
-rw-r--r--src/client/js/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/js/main.js b/src/client/js/main.js
index 04ccfd0..3c3d797 100644
--- a/src/client/js/main.js
+++ b/src/client/js/main.js
@@ -12,5 +12,6 @@ var app = Elm.Main.fullscreen({
time: new Date().getTime(),
translations: JSON.parse(document.getElementById('translations').innerHTML),
conf: JSON.parse(document.getElementById('conf').innerHTML),
- result: JSON.parse(document.getElementById('result').innerHTML)
+ result: JSON.parse(document.getElementById('result').innerHTML),
+ windowSize: { width: window.innerWidth, height: window.innerHeight }
});