Browse Source

Merge pull request #1632 from PSyton/next

Show filtered menu if search input placed in menu.
pull/1698/merge
Jack Lukic 9 years ago
parent
commit
4e3097cfc7
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 ? callback
: function(){} : 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.debug('Showing dropdown');
module.animate.show(function() { module.animate.show(function() {
if( module.can.click() ) { if( module.can.click() ) {

Loading…
Cancel
Save