summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/istreamdev.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js
index 40ac8ce..58fd0e5 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -244,10 +244,10 @@ function gen_channels(category) {
function(data){
$.each(data.channel,function(i,channel){
if ( i <= 10 ) {
- $("#chan_menu").append('<li class="channellist"><a class="chan_but" href="#"><img src="logos/' + channel.name + '.png" onerror="this.style.display=\'none\'" /><small class="counter">' + channel.number + '</small><span class="name">' + channel.name + '</span><span class="comment">' + channel.now_title + '</span></a></li>');
+ $("#chan_menu").append('<li class="channellist"><a class="chan_but" href="#"><img src="logos/' + channel.name + '.png" onerror="this.src=\'img/nologoTV-mini.jpg\'" /><small class="counter">' + channel.number + '</small><span class="name">' + channel.name + '</span><span class="comment">' + channel.now_title + '</span></a></li>');
}
else {
- $("#chan_menu").append('<li class="channellist" rel="toggle"><a class="chan_but" href="#"><img src="logos/' + channel.name + '.png" onerror="this.style.display=\'none\'" /><small class="counter">' + channel.number + '</small><span class="name">' + channel.name + '</span><span class="comment">' + channel.now_title + '</span></a></li>');
+ $("#chan_menu").append('<li class="channellist" rel="toggle"><a class="chan_but" href="#"><img src="logos/' + channel.name + '.png" onerror="this.src=\'img/nologoTV-mini.jpg\'" /><small class="counter">' + channel.number + '</small><span class="name">' + channel.name + '</span><span class="comment">' + channel.now_title + '</span></a></li>');
}
});
$('li[rel="toggle"]').hide();