From 0e525fd13a65665781412cb36eb35b03c54efc8e Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 3 Feb 2015 12:19:29 +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