Commit 39dbdf8b authored by Simon Daron's avatar Simon Daron
Browse files

Preparing link for onAir

parent 486dbd04
......@@ -128,6 +128,11 @@ $(function() {
$(this).trigger('uncheck');
});
/*
$('[data-highlight].icon-check').each(function(){
$(this).trigger('check');
});
*/
/*
$("[data-audio-control]").each(function() {
var audio = $('#'+$(this).attr('data-audio-control'));
var audioElement = audio[0];
......
......@@ -45,7 +45,9 @@
var result = '';
result = result + ($.type(onair.data.emission) == 'object'?'<strong>'+onair.data.emission.title+'</strong>&nbsp;':'');
result = result + ($.type(onair.data.episode) == 'object'?'<span>'+onair.data.episode.title+'</span>':'');
WhatsOnAir.html(result);
//var container = $('<a>',{class:"intercepted",href:onair.data.emission.url,html:result});
var container = $('<span>').html(result);
WhatsOnAir.append(container);
} else if (onair.data.nonstop) {
result = onair.data.nonstop.title;
WhatsOnAir.html('<strong>' + result + '</strong>');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment