Documents: Decrease thumbnail fadein duration
Reduce the document thumbnail fadein animation length to speed up display of resolved thumbnails. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -43,7 +43,7 @@ class MayanImage {
|
|||||||
|
|
||||||
$('.lazy-load').one('load', function() {
|
$('.lazy-load').one('load', function() {
|
||||||
$(this).hide();
|
$(this).hide();
|
||||||
$(this).fadeIn(300);
|
$(this).fadeIn(200);
|
||||||
$(this).siblings('.spinner-container').remove();
|
$(this).siblings('.spinner-container').remove();
|
||||||
$(this).removeClass('lazy-load pull-left');
|
$(this).removeClass('lazy-load pull-left');
|
||||||
clearTimeout(MayanImage.timer);
|
clearTimeout(MayanImage.timer);
|
||||||
@@ -52,7 +52,7 @@ class MayanImage {
|
|||||||
|
|
||||||
$('.lazy-load-carousel').one('load', function() {
|
$('.lazy-load-carousel').one('load', function() {
|
||||||
$(this).hide();
|
$(this).hide();
|
||||||
$(this).fadeIn(300);
|
$(this).fadeIn(200);
|
||||||
$(this).siblings('.spinner-container').remove();
|
$(this).siblings('.spinner-container').remove();
|
||||||
$(this).removeClass('lazy-load-carousel pull-left');
|
$(this).removeClass('lazy-load-carousel pull-left');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user