|
|
@ -875,7 +875,7 @@ $.fn.dropdown = function(parameters) { |
|
|
|
$selectedItem = ($currentlySelected.length > 0) |
|
|
|
? $currentlySelected |
|
|
|
: $activeItem, |
|
|
|
hasSelected = ($selectedItem.size() > 0) |
|
|
|
hasSelected = ($selectedItem.length > 0) |
|
|
|
; |
|
|
|
if(hasSelected) { |
|
|
|
module.debug('Forcing partial selection to selected item', $selectedItem); |
|
|
@ -1288,7 +1288,7 @@ $.fn.dropdown = function(parameters) { |
|
|
|
? $currentlySelected |
|
|
|
: $activeItem, |
|
|
|
$visibleItems = ($selectedItem.length > 0) |
|
|
|
? $selectedItem.siblings(':not(.' + className.filtered +')').andSelf() |
|
|
|
? $selectedItem.siblings(':not(.' + className.filtered +')').addBack() |
|
|
|
: $menu.children(':not(.' + className.filtered +')'), |
|
|
|
$subMenu = $selectedItem.children(selector.menu), |
|
|
|
$parentMenu = $selectedItem.closest(selector.menu), |
|
|
|