From 240b8da24afd0a67224265f6dede8a736f0235ab Mon Sep 17 00:00:00 2001 From: squandor Date: Mon, 2 Jan 2017 20:39:19 +0100 Subject: [PATCH] changed some style formats --- templates/switches.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/switches.html b/templates/switches.html index 5254a90..7efa159 100644 --- a/templates/switches.html +++ b/templates/switches.html @@ -22,11 +22,11 @@ {% elif "dimmer" in v[1] %} - {% elif "pushOn" in v[1] %} + {% elif "pushon" in v[1] %}
- {% elif "pushOff" in v[1] %} + {% elif "pushoff" in v[1] %}
@@ -99,7 +99,7 @@ $(document).ready(function() { changeSwitch(this, {{v[0]}}); }); updateSwitches_block_{{count}}.push("{{v[0]}}"); - {% elif (v[1] == "pushOn") or (v[1] == "pushOff") %} + {% elif (v[1] == "pushon") or (v[1] == "pushoff") %} $('button[id="push_{{v[0]}}_block_{{count}}"]').click(function() { changeSwitch(this, {{v[0]}}); });