Fixed close function
authorAlexander Ebert <ebert@woltlab.com>
Tue, 4 Mar 2014 17:54:58 +0000 (18:54 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 4 Mar 2014 17:54:58 +0000 (18:54 +0100)
wcfsetup/install/files/js/WCF.ImageViewer.js

index 331fdeb4ad5fc592063f2428dc082bde15813aa3..54e9374f50bbcb1631ba1615218b0016dff51d91 100644 (file)
@@ -323,7 +323,7 @@ $.widget('ui.wcfImageViewer', {
         * 
         * @return      boolean
         */
-       close: function() {
+       close: function(event) {
                if (event) event.preventDefault();
                
                if (!this._isOpen) {