summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/istreamdev.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js
index 4fd86c8..0a70ebd 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -188,7 +188,7 @@ $('#streamchannel span.streamButton a').tap(function(event) {
json_start(this);
var type = $("#streamchannel").find('span[rel="type"]').html();
var url = $("#streamchannel").find('span[rel="url"]').html();
- var mode = $(this).attr('rel');
+ var mode = $(this).attr('id');
start_broadcast(type,url,mode);
return false;
});
@@ -197,7 +197,7 @@ $('#streamrec span.streamButton a').tap(function(event) {
json_start(this);
var type = $("#streamrec").find('span[rel="type"]').html();
var url = $("#streamrec").find('span[rel="url"]').html();
- var mode = $(this).attr('rel');
+ var mode = $(this).attr('id');
start_broadcast(type,url,mode);
return false;
});
@@ -206,7 +206,7 @@ $('#streamvid span.streamButton a').tap(function(event) {
json_start(this);
var type = $("#streamvid").find('span[rel="type"]').html();
var url = $("#streamvid").find('span[rel="url"]').html();
- var mode = $(this).attr('rel');
+ var mode = $(this).attr('id');
start_broadcast(type,url,mode);
return false;
});