From: Alexander Ebert Date: Sat, 22 Feb 2014 18:01:42 +0000 (+0100) Subject: Improved image viewer with targetImageID feature X-Git-Tag: 2.0.3~22^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5cf7899744b99ebd2f8f1b6f5446575bf9cb69ea;p=GitHub%2FWoltLab%2FWCF.git Improved image viewer with targetImageID feature --- 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();