From f6a675c9db253a45ea4d6bd65e674530e8938549 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 5 Dec 2018 02:49:29 -0400 Subject: [PATCH] Documents: Decrease thumbnail fadein duration Reduce the document thumbnail fadein animation length to speed up display of resolved thumbnails. Signed-off-by: Roberto Rosario --- mayan/apps/appearance/static/appearance/js/mayan_image.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mayan/apps/appearance/static/appearance/js/mayan_image.js b/mayan/apps/appearance/static/appearance/js/mayan_image.js index 16b7544649..63b26fc0c0 100644 --- a/mayan/apps/appearance/static/appearance/js/mayan_image.js +++ b/mayan/apps/appearance/static/appearance/js/mayan_image.js @@ -43,7 +43,7 @@ class MayanImage { $('.lazy-load').one('load', function() { $(this).hide(); - $(this).fadeIn(300); + $(this).fadeIn(200); $(this).siblings('.spinner-container').remove(); $(this).removeClass('lazy-load pull-left'); clearTimeout(MayanImage.timer); @@ -52,7 +52,7 @@ class MayanImage { $('.lazy-load-carousel').one('load', function() { $(this).hide(); - $(this).fadeIn(300); + $(this).fadeIn(200); $(this).siblings('.spinner-container').remove(); $(this).removeClass('lazy-load-carousel pull-left'); });