diff --git a/etemplate/js/et2_widget_description.js b/etemplate/js/et2_widget_description.js index a7edaabccb..ba2db0d235 100644 --- a/etemplate/js/et2_widget_description.js +++ b/etemplate/js/et2_widget_description.js @@ -241,8 +241,6 @@ var et2_description = expose(et2_baseWidget.extend([et2_IDetachedDOM], $span.click(function(e) { if (self.options.expose_view && typeof self.options.mime !='undefined' && self.options.mime.match(/video\/|image\/|audio\//,'ig')) { - // Do not show thumbnail indicator for single expose view - self.expose_options.thumbnailIndicators = false; self._init_blueimp_gallery(e, href); } else diff --git a/etemplate/js/et2_widget_image.js b/etemplate/js/et2_widget_image.js index c6812ce537..4748c6d991 100644 --- a/etemplate/js/et2_widget_image.js +++ b/etemplate/js/et2_widget_image.js @@ -161,8 +161,6 @@ var et2_image = expose(et2_baseWidget.extend([et2_IDetachedDOM], { if (self.options.expose_view) { - // Do not show thumbnail indicator on single expose view - self.expose_options.thumbnailIndicators = false; self._init_blueimp_gallery(e,_value); } else diff --git a/etemplate/js/expose.js b/etemplate/js/expose.js index 9585ab995c..2b9478705c 100644 --- a/etemplate/js/expose.js +++ b/etemplate/js/expose.js @@ -431,6 +431,8 @@ function expose (widget) else { mediaContent = this.getMedia(_value); + // Do not show thumbnail indicator on single expose view + this.expose_options.thumbnailIndicators = false; } this.expose_options.index = current_index; gallery = blueimp.Gallery(mediaContent, this.expose_options);