diff options
author | Joris Guyonvarch | 2015-08-11 21:32:10 +0200 |
---|---|---|
committer | Joris Guyonvarch | 2015-08-11 21:32:10 +0200 |
commit | 892a7dd19a92fc18767984e624b8a5026dce61e4 (patch) | |
tree | 7d59d58d96958e91a4e9114be0effb9ec7a082a8 /public | |
parent | a3bab4f2a0cc8a6a95753dc91d8e862f40c80dcc (diff) |
Showing server sides generated messages from the client
Diffstat (limited to 'public')
-rw-r--r-- | public/javascripts/elmLauncher.js | 5 |
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) { |