Remove expose view loading and make indicator scrolling animation faster

This commit is contained in:
Hadi Nategh 2015-02-06 10:02:38 +00:00
parent 790a2d320f
commit 3bfee6c6dd

View File

@ -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);
}
}
},