diff options
-rw-r--r-- | css/istreamdev.css | 2 | ||||
-rw-r--r-- | js/istreamdev.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/css/istreamdev.css b/css/istreamdev.css index f6a393d..493eeb1 100644 --- a/css/istreamdev.css +++ b/css/istreamdev.css @@ -52,7 +52,7 @@ vertical-align: middle; position: relative; -webkit-mask-box-image: url(../img/mask.png) 80 stretch; top: 0px; -background-image: url('../img/nologoTV-mini.png') ; +background-image: url('../img/nologoTV-mini.jpg') ; } li.channellist span.name { diff --git a/js/istreamdev.js b/js/istreamdev.js index 9eaaaca..a2a91d1 100644 --- a/js/istreamdev.js +++ b/js/istreamdev.js @@ -244,7 +244,7 @@ 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"/><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"/><small class="counter">' + channel.number + '</small><span class="name">' + channel.name + '</span><span class="comment">' + channel.now_title + '</span></a></li>');
|