diff --git a/platypush/backend/http/static/js/widgets/rss-news.js b/platypush/backend/http/static/js/widgets/rss-news.js index b12374cb..e65092d4 100644 --- a/platypush/backend/http/static/js/widgets/rss-news.js +++ b/platypush/backend/http/static/js/widgets/rss-news.js @@ -53,13 +53,10 @@ $(document).ready(function() { $publishTime.appendTo($article); if ($newsElement.find('.article').length) { - $newsElement.find('.article').fadeOut('slow', function() { - $(this).remove(); - $article.hide().appendTo($newsElement).fadeIn(); - }); - } else { - $article.hide().appendTo($newsElement).fadeIn(); + $newsElement.find('.article').remove(); } + + $article.hide().appendTo($newsElement).fadeIn(); }; var initWidget = function() {