Commit ef5c9b97 authored by fred's avatar fred

add a dash between emission and episode when displaying what's on air

parent 0dd8cecf
......@@ -169,6 +169,7 @@ $(function() {
$('<a>',{href:onair.data.emission.url,html:onair.data.emission.title}).appendTo(onairContainer).ajaxifyClick();
}
if(onair.data.episode){
$('<span> - </span>').appendTo(onairContainer);
$('<a>',{href:onair.data.episode.url,html:onair.data.episode.title}).appendTo(onairContainer).ajaxifyClick();
}
WhatsOnAir.empty().append(onairContainer);
......
Markdown is supported
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