summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-18 20:11:53 +0100
committerAlib <aliboba@free.fr>2010-03-18 20:11:53 +0100
commit2a15bf0b24f46ce344efbbc7d39d94db8ea46466 (patch)
tree56dff960a4c0585a5ade9faed1a16b38680be031
parente446f61a5ebb437b88e77048a4b58990d5e1fe4a (diff)
downloadistreamdev-2a15bf0b24f46ce344efbbc7d39d94db8ea46466.tar.gz
istreamdev-2a15bf0b24f46ce344efbbc7d39d94db8ea46466.tar.bz2
fixed onerrorevent
-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();