From 3bfee6c6ddff301505f5a95bf64457ea9efef2f0 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 6 Feb 2015 10:02:38 +0000 Subject: [PATCH] Remove expose view loading and make indicator scrolling animation faster --- etemplate/js/expose.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etemplate/js/expose.js b/etemplate/js/expose.js index 28e9a33546..6d3becfcef 100644 --- a/etemplate/js/expose.js +++ b/etemplate/js/expose.js @@ -227,7 +227,7 @@ function expose (widget) // The class for all slides: slideClass: 'slide', // The slide class for loading elements: - slideLoadingClass: 'slide-loading', + slideLoadingClass: '', // The slide class for elements that failed to load: slideErrorClass: 'slide-error', // The class for the content element loaded into each slide: @@ -488,10 +488,10 @@ function expose (widget) // See if we need to move the indicator var indicator = gallery.container.find('.indicator'); var current = $j('.active',indicator).position(); - + if(current) { - indicator.animate({left: (gallery.container.width() / 2)-current.left}); + indicator.animate({left: (gallery.container.width() / 2)-current.left},10); } } },