Dropdowns in front of textareas don't have the `dropdownCaption` class (`dropdownCaptionTextarea` instead, but both types have the `dropdownToggle` class.
$button.addClass('active');
// update label
- this._list.prev('.dropdownCaption').children('span').text(this._availableLanguages[this._languageID]);
+ this._list.prev('.dropdownToggle').children('span').text(this._availableLanguages[this._languageID]);
// close selection and set focus on input element
this._closeSelection();
}
// remove active marking
- this._list.prev('.dropdownCaption').children('span').removeClass('active').text(WCF.Language.get('wcf.global.button.disabledI18n'));
+ this._list.prev('.dropdownToggle').children('span').removeClass('active').text(WCF.Language.get('wcf.global.button.disabledI18n'));
this._closeSelection();
// update element value