aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-08-11 21:32:10 +0200
committerJoris Guyonvarch2015-08-11 21:32:10 +0200
commit892a7dd19a92fc18767984e624b8a5026dce61e4 (patch)
tree7d59d58d96958e91a4e9114be0effb9ec7a082a8 /public
parenta3bab4f2a0cc8a6a95753dc91d8e862f40c80dcc (diff)
downloadbudget-892a7dd19a92fc18767984e624b8a5026dce61e4.tar.gz
budget-892a7dd19a92fc18767984e624b8a5026dce61e4.tar.bz2
budget-892a7dd19a92fc18767984e624b8a5026dce61e4.zip
Showing server sides generated messages from the client
Diffstat (limited to 'public')
-rw-r--r--public/javascripts/elmLauncher.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/public/javascripts/elmLauncher.js b/public/javascripts/elmLauncher.js
index 0d9dc5c..ef5d86d 100644
--- a/public/javascripts/elmLauncher.js
+++ b/public/javascripts/elmLauncher.js
@@ -1,8 +1,7 @@
-var messages = document.getElementById('messages').innerHTML;
-
Elm.fullscreen(Elm.Main, {
signInError: getParameterByName('signInError'),
- initialTime: new Date().getTime()
+ initialTime: new Date().getTime(),
+ translations: document.getElementById('messages').innerHTML
});
function getParameterByName(name) {