summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-03-18 17:32:14 +0100
committerAlib <aliboba@free.fr>2010-03-18 17:32:14 +0100
commit4fabb891045ef34381c300e0a73cd44b926a761f (patch)
tree3a550539d644f76ad0e037ddb2092503455dd3c0 /js
parent816d55f57ec56f4f306585075ac43e011bcb9fea (diff)
downloadistreamdev-4fabb891045ef34381c300e0a73cd44b926a761f.tar.gz
istreamdev-4fabb891045ef34381c300e0a73cd44b926a761f.tar.bz2
default pic when no logo for channel list
Diffstat (limited to 'js')
-rw-r--r--js/istreamdev.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/istreamdev.js b/js/istreamdev.js
index ca3c672..9998f53 100644
--- a/js/istreamdev.js
+++ b/js/istreamdev.js
@@ -251,7 +251,9 @@ function gen_channels(category) {
}
});
$('li[rel="toggle"]').hide();
+ if ( data.channel.length > 10 ) {
$("#chan_menu").append('<li rel="showbut"><a href="#" class="toggleLink">Show all</a></li>');
+ }
json_complete('#channels','cube');
})
}
@@ -529,7 +531,6 @@ $('div[rel="browser"] #home_but').tap(function(event) {
$('#home').bind('pageAnimationEnd', function(event, info){
$('#jqt div[rel="browser"]').remove();
$('#home').unbind('pageAnimationEnd');
-
});
});