Browse Source

Show filtered menu if search input placed in menu.

pull/1632/head
Pavel Sysolyatin 9 years ago
parent
commit
7ad2931ddf
1 changed files with 4 additions and 1 deletions
  1. 5
      src/definitions/modules/dropdown.js

5
src/definitions/modules/dropdown.js

@ -219,7 +219,10 @@ $.fn.dropdown = function(parameters) {
? callback
: function(){}
;
if( module.can.show() && !module.is.active() && !module.is.allFiltered() ) {
if( module.is.searchSelection() && module.is.allFiltered() ) {
return;
}
if( module.can.show() && !module.is.active() ) {
module.debug('Showing dropdown');
module.animate.show(function() {
if( module.can.click() ) {

Loading…
Cancel
Save