Skip to content

Commit

Permalink
Reduce impact of slight graphic glitch in news fader when loading mul…
Browse files Browse the repository at this point in the history
…tiple news (hide instead of fadeOut) - thanks Flavio93Zena for reporting

Signed-off-by: emanuele <emanuele45@gmail.com>
  • Loading branch information
emanuele45 committed Sep 2, 2015
1 parent b9a8a74 commit 584319b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions themes/default/scripts/elk_jquery_plugins.js
Expand Up @@ -657,9 +657,7 @@
if ($news.length > 1)
{
$.extend(settings, options);
$news.each(function() {
$(this).fadeOut();
});
$news.hide();
$news.eq(0).fadeIn(settings.iFadeSpeed);

setInterval(function() {
Expand Down

0 comments on commit 584319b

Please sign in to comment.