From c4ed2d948f6cef01154ed957fe09a349de12f625 Mon Sep 17 00:00:00 2001 From: TheYOSH Date: Sat, 28 Oct 2017 10:45:47 +0200 Subject: [PATCH] Update environment dashboard modus names #34 --- static/js/terrariumpi.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/static/js/terrariumpi.js b/static/js/terrariumpi.js index bb2ba2f98..94ddc4150 100644 --- a/static/js/terrariumpi.js +++ b/static/js/terrariumpi.js @@ -408,9 +408,9 @@ function update_weather(data) { } function update_dashboard_environment(name, value) { - var mode_translations = {'sensor' : '{{_('Sensor')}}'.toLowerCase(), - 'weather':'{{_('Weather')}}'.toLowerCase(), - 'timer':'{{_('Timer')}}'.toLowerCase()}; + var mode_translations = {'sensor' : '{{_('Sensor')}}', + 'weather':'{{_('Weather')}}', + 'timer':'{{_('Timer')}}'}; var systempart = $('div.environment_' + name); if (systempart.length === 0 || Object.keys(value).length === 0 || !value.enabled) { systempart.find('table.tile_info').hide();