From aad5fc845679fdfd22d45653a02910cac2cb0e40 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 24 Jan 2012 17:46:48 +0100 Subject: [PATCH] Fixed an issue --- wcfsetup/install/files/js/WCF.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 1a485d5da5..b78dbcf567 100644 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -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'); + } }, /** -- 2.20.1