diff --git a/scores/templates/scores/brackets.html b/scores/templates/scores/brackets.html index fb89906..6facf16 100644 --- a/scores/templates/scores/brackets.html +++ b/scores/templates/scores/brackets.html @@ -32,14 +32,6 @@ } else { iScrollInterval = iScroll * 10; } - var fade = function() { - $("body").fadeOut(iFadeInterval, function(){ - $("html, body").scrollTop(0); - $("body").fadeIn(iFadeInterval,function(){ - setTimeout(loop, iInterval); - }); - }); - } var loop = function() { var iScroll = $(document).height() - $(window).height(); @@ -54,12 +46,11 @@ duration : iScrollInterval, easing : "linear", complete : function() { - setTimeout(fade, iInterval); + setTimeout(function(){ + window.location.reload(); + }, iInterval); } }); - setTimeout(function(){ - window.location.reload(); - }, Math.max(iScrollInterval * 10 + 2000, 15000)); }; setTimeout(loop, iInterval); diff --git a/scores/templates/scores/ranks.html b/scores/templates/scores/ranks.html index 0ca49e1..6a9d577 100644 --- a/scores/templates/scores/ranks.html +++ b/scores/templates/scores/ranks.html @@ -15,7 +15,7 @@