From dd055933627aeb60c711e6d20bcc60d363b53c7a Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 12 Mar 2014 15:19:34 +0100 Subject: [PATCH] Fixed an issue when user is navigating back and forth to fast --- wcfsetup/install/files/js/WCF.ImageViewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); -- 2.20.1