From 4fabb891045ef34381c300e0a73cd44b926a761f Mon Sep 17 00:00:00 2001 From: Alib Date: Thu, 18 Mar 2010 17:32:14 +0100 Subject: default pic when no logo for channel list --- js/istreamdev.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js') 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('
  • Show all
  • '); + } 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'); - }); }); -- cgit v1.2.3