Fixed image viewer preventing non-covered keystrokes
authorAlexander Ebert <ebert@woltlab.com>
Mon, 10 Mar 2014 17:29:29 +0000 (18:29 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 10 Mar 2014 17:29:29 +0000 (18:29 +0100)
wcfsetup/install/files/js/WCF.ImageViewer.js

index cbebd7de7f8519e10aa08d87a71250ce3bbf8065..439d264f32d355bdab33e3e5ee6aed82b48a581a 100644 (file)
@@ -475,6 +475,10 @@ $.widget('ui.wcfImageViewer', {
                        case 80:
                                this._ui.slideshow.toggle.trigger('click');
                        break;
+                       
+                       default:
+                               return true;
+                       break;
                }
                
                return false;