mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-09 01:37:06 +01:00
switch schedules work again
This commit is contained in:
@@ -662,7 +662,7 @@ function addSchedule(event) {
|
||||
var template = $("#scheduleTemplate").children();
|
||||
var line = $(template).clone();
|
||||
|
||||
var type = (1 === event.data.schType) ? "switch" : "light";
|
||||
var type = ("1" === event.data.schType) ? "switch" : "light";
|
||||
|
||||
template = $("#" + type + "ActionTemplate").children();
|
||||
var actionLine = template.clone();
|
||||
|
||||
Reference in New Issue
Block a user