diff options
Diffstat (limited to 'www/js/index.js')
| -rw-r--r-- | www/js/index.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/www/js/index.js b/www/js/index.js index a6dc18e..ab7a740 100644 --- a/www/js/index.js +++ b/www/js/index.js @@ -55,10 +55,13 @@ function updateCheck(){ request.done(function(resultHtml){ var appStatus = $('li[id="' + version + '"]', resultHtml).text().trim(); + var motd = $('li[id="motd"]', resultHtml).html().trim(); + var loginOk = true; - console.log('Appstatus: ' + appStatus); + console.log('Appstatus: ' + appStatus + ' Nachricht des Tages: ' + motd); + $('.motd').html(motd); switch(appStatus){ case 'ok': break; |
