From 8c45452dbaafcd013f9db13f6ee966eea9808068 Mon Sep 17 00:00:00 2001 From: "M. Voerman" Date: Sat, 27 Feb 2016 21:00:13 +0100 Subject: RadioGroup can be set from settings --- javascript/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'javascript/main.js') diff --git a/javascript/main.js b/javascript/main.js index 54f40d9..4390622 100644 --- a/javascript/main.js +++ b/javascript/main.js @@ -1073,15 +1073,15 @@ function onKeyDown(event) { case "TV": case "RADIO": if(isFullscreen) { - if(ChanGroup !== 9) { + if(ChanGroup !== RadioGroup) { //Radio defChan[ChanGroup] = currChan; if ((protChn[ChanGroup] !== 1)) { //If group is protected don't saving current channel OldChanGroup = ChanGroup; } - ChanGroup = 9; - currChan = defChan[9]; + ChanGroup = RadioGroup; + currChan = defChan[RadioGroup]; } else { //TV defChan[ChanGroup] = currChan; -- cgit v1.2.3