Adjusts the height of multilingual input fields
}
else {
$button.addClass('dropdownCaption');
+ $button.next().css('height', $button.outerHeight());
}
- // insert list
- this._list = $('<ul class="dropdownMenu"></ul>').insertAfter($button);
-
- // set top offset for menu
- if ($top !== null) {
- this._list.css({
- top: $top
- });
- }
-
// insert available languages
for (var $languageID in this._availableLanguages) {
$('<li><span>' + this._availableLanguages[$languageID] + '</span></li>').data('languageID', $languageID).click($.proxy(this._changeLanguage, this)).appendTo(this._list);