Do not add conrtrols class if it's on slideshow mode

This commit is contained in:
Hadi Nategh 2015-02-03 12:19:29 +00:00
parent 84560a0496
commit 0e525fd13a

View File

@ -483,7 +483,7 @@ 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.left == 0)
if (current.left == 0 && !gallery.container.hasClass(this.expose_options.playingClass))
{
//As controlsClass activates indicators,
//we use it to make indicators available for the first time