|
|
@ -1981,6 +1981,7 @@ $.fn.dropdown = function(parameters) { |
|
|
|
if($addition.length > 0) { |
|
|
|
$addition |
|
|
|
.html(html) |
|
|
|
.data(metadata.value, value) |
|
|
|
.removeClass(className.filtered) |
|
|
|
.addClass(className.selected) |
|
|
|
; |
|
|
@ -1988,6 +1989,7 @@ $.fn.dropdown = function(parameters) { |
|
|
|
else { |
|
|
|
$addition = $('<div/>') |
|
|
|
.html(html) |
|
|
|
.data(metadata.value, value) |
|
|
|
.addClass(className.addition) |
|
|
|
.addClass(className.item) |
|
|
|
.prependTo($menu) |
|
|
|