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

This commit is contained in:
Hadi Nategh 2015-02-03 12:18:43 +00:00
parent cce240fa5b
commit c9b98028ef

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