Fixed an issue
authorAlexander Ebert <ebert@woltlab.com>
Tue, 24 Jan 2012 16:46:48 +0000 (17:46 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 24 Jan 2012 16:46:48 +0000 (17:46 +0100)
wcfsetup/install/files/js/WCF.js

index 1a485d5da5a128884dfa3ad4d3b2457d331fd22f..b78dbcf5671ee7f2d4d20e1e7927784e62472af4 100644 (file)
@@ -1864,7 +1864,9 @@ WCF.MultipleLanguageInput.prototype = {
         * Closes the language selection.
         */
        _closeSelection: function() {
-               this._list.removeClass('open');
+               if (this._list !== null) {
+                       this._list.removeClass('open');
+               }
        },
 
        /**