diff options
Diffstat (limited to 'javascript/main.js')
-rw-r--r-- | javascript/main.js | 6 |
1 files changed, 3 insertions, 3 deletions
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; |