forked from platypush/platypush
Replaced fadeIn with show to make transitions less CPU heavy on RPi
This commit is contained in:
parent
5762c51019
commit
2ee54b5220
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ $(document).ready(function() {
|
||||||
}
|
}
|
||||||
|
|
||||||
$newImg.css('max-height', '100%');
|
$newImg.css('max-height', '100%');
|
||||||
$newImg.remove().appendTo($imgContainer).fadeIn();
|
$newImg.remove().appendTo($imgContainer).show();
|
||||||
});
|
});
|
||||||
|
|
||||||
if (processedImages == images.length-1) {
|
if (processedImages == images.length-1) {
|
||||||
|
|
|
@ -59,7 +59,7 @@ $(document).ready(function() {
|
||||||
$newsElement.find('.article').remove();
|
$newsElement.find('.article').remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
$article.hide().appendTo($newsElement).fadeIn();
|
$article.hide().appendTo($newsElement).show();
|
||||||
|
|
||||||
if (updateNewsList) {
|
if (updateNewsList) {
|
||||||
getNews();
|
getNews();
|
||||||
|
|
Loading…
Reference in a new issue