From 892a7dd19a92fc18767984e624b8a5026dce61e4 Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Tue, 11 Aug 2015 21:32:10 +0200 Subject: Showing server sides generated messages from the client --- public/javascripts/elmLauncher.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'public/javascripts') 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) { -- cgit v1.2.3