From c9b98028effb0d5291b9f6e5e741c70ed9d97e15 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 3 Feb 2015 12:18:43 +0000 Subject: [PATCH] Do not add conrtrols class if it's on slideshow mode --- etemplate/js/expose.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/expose.js b/etemplate/js/expose.js index ceff7f94a7..f547668826 100644 --- a/etemplate/js/expose.js +++ b/etemplate/js/expose.js @@ -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