summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/index.html b/index.html
index 20a837d..23f5919 100644
--- a/index.html
+++ b/index.html
@@ -2613,9 +2613,10 @@ function onScheduledStart(event) {
// switch only if not already on that channel.
if (currChan !== toi.schedulerService.getParameter(event.booking.id, "Channel")) {
- currChan = toi.schedulerService.getParameter(event.booking.id, "Channel");
- ChanGroup = (currChan / 1000).toFixed(0);
+ currChan = Number(toi.schedulerService.getParameter(event.booking.id, "Channel"));
+ ChanGroup = Number(Left((currChan / 1000),1));
play(channels[currChan]);
+ alert (ChanGroup);
}
} else {
try {