Commit d243652c authored by fred's avatar fred

remove obsolete ticker stuff

parent 3c9cd0df
......@@ -172,7 +172,6 @@ $(function() {
var timer = null;
var refresh_onair_interval = 25000;
var ticker_interval = null;
/*
//TODO: mini icon version for player, (playpause only)
$('#togglePlayer').on('click',function(e) {
......@@ -419,21 +418,6 @@ $(function() {
$('input#id_q').focus();
}
$('#ticker li:not(:first)');
if (ticker_interval) clearInterval(ticker_interval);
function tick(){
$('#ticker li:first').animate({'opacity':0}, 200, function () {
$(this).appendTo($('#ticker')).css('opacity', 1);
});
}
$("#roller button").on('click',function(e){
clearInterval(ticker_interval);
e.preventDefault();
$($(this).attr('data-about')).prependTo('#ticker');
return false;
});
ticker_interval = setInterval(function(){tick(); }, 20000);/**/
function navsearch_click(event) {
event.preventDefault();
var query = $('#nav-search input').val();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment