From 5cf7899744b99ebd2f8f1b6f5446575bf9cb69ea Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 22 Feb 2014 19:01:42 +0100 Subject: [PATCH] Improved image viewer with targetImageID feature --- wcfsetup/install/files/js/WCF.ImageViewer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/js/WCF.ImageViewer.js b/wcfsetup/install/files/js/WCF.ImageViewer.js index 9ea03583fa..89fc32eed6 100644 --- a/wcfsetup/install/files/js/WCF.ImageViewer.js +++ b/wcfsetup/install/files/js/WCF.ImageViewer.js @@ -415,6 +415,7 @@ $.widget('ui.wcfImageViewer', { } $thumbnail.trigger('click'); + this.moveToImage($thumbnail.data('index')); if (this._items > 1 && this.options.enableSlideshow && !targetImageID) { this.startSlideshow(); -- 2.20.1