diff options
Diffstat (limited to 'js/istreamdev.js')
-rw-r--r-- | js/istreamdev.js | 3 |
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');
-
});
});
|