summaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
Diffstat (limited to 'javascript')
-rw-r--r--javascript/main.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/javascript/main.js b/javascript/main.js
index 39a1325..d8abb07 100644
--- a/javascript/main.js
+++ b/javascript/main.js
@@ -259,17 +259,17 @@ var numObjs = event.objectNames.length;
} else if(event.objectNames[i] == "var.io.state" && is.getObject(event.objectNames[i]) == "normal" && KillStream == 1){
play(channels[currChan]);
if(isMediaMenu) {
- if (mediaList.style.opacity == 0) {
- if (get_recordings == 1) {
- setTimeout("GetMarks(); getResume(); playRec(recLink[currMed]+ '?mode=streamtoend&time=' + position);",100);
- } else if (get_recordings == 2) {
+ if (medialist.style.opacity == 0) {
+ if (get_recordings == 1) {
+ setTimeout("GetMarks(); getResume(); playRec(recLink[currMed] + '?mode=streamtoend&time=' + position);",100);
+ } else if (get_recordings == 2) {
setTimeout("playRec(recLink[currMed]+ '?pos=time.' + position);",100);
- }
+ }
- } else {
- showDisplay("STOP", false, 100, 0 );
- showMediaList();
- }
+ } else {
+ showDisplay("STOP", false, 100, 0 );
+ showMediaList();
+ }
}
}
}