From: Alexander Ebert Date: Wed, 12 Mar 2014 14:19:34 +0000 (+0100) Subject: Fixed an issue when user is navigating back and forth to fast X-Git-Tag: 2.0.4~19^2~7 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dd055933627aeb60c711e6d20bcc60d363b53c7a;p=GitHub%2FWoltLab%2FWCF.git Fixed an issue when user is navigating back and forth to fast --- diff --git a/wcfsetup/install/files/js/WCF.ImageViewer.js b/wcfsetup/install/files/js/WCF.ImageViewer.js index 3972518932..ca7530bcb6 100644 --- a/wcfsetup/install/files/js/WCF.ImageViewer.js +++ b/wcfsetup/install/files/js/WCF.ImageViewer.js @@ -583,7 +583,7 @@ $.widget('ui.wcfImageViewer', { var $currentActiveImage = this._active; this._ui.imageContainer.addClass('loading'); - this._ui.images[$newImageIndex].off('load').on('load', $.proxy(function() { + this._ui.images[$newImageIndex].off('load').prop('src', false).on('load', $.proxy(function() { this._imageOnLoad($currentActiveImage, $newImageIndex); }, this));