From: Alexander Ebert Date: Mon, 10 Mar 2014 17:29:29 +0000 (+0100) Subject: Fixed image viewer preventing non-covered keystrokes X-Git-Tag: 2.0.4~26^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c16cb4bad96165a48e066ab00a09e1e2c35f970d;p=GitHub%2FWoltLab%2FWCF.git Fixed image viewer preventing non-covered keystrokes --- diff --git a/wcfsetup/install/files/js/WCF.ImageViewer.js b/wcfsetup/install/files/js/WCF.ImageViewer.js index cbebd7de7f..439d264f32 100644 --- a/wcfsetup/install/files/js/WCF.ImageViewer.js +++ b/wcfsetup/install/files/js/WCF.ImageViewer.js @@ -475,6 +475,10 @@ $.widget('ui.wcfImageViewer', { case 80: this._ui.slideshow.toggle.trigger('click'); break; + + default: + return true; + break; } return false;