forked from platypush/platypush
Only do article fade-in without fade-out+fade-in dance
This commit is contained in:
parent
27d5f674c5
commit
177a359e4a
1 changed files with 3 additions and 6 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue