From fd158c6c780edb9211638994f10bc2ceca3755d0 Mon Sep 17 00:00:00 2001 From: jlukic Date: Wed, 22 Oct 2014 13:33:22 -0400 Subject: [PATCH] Fix in menu searchable from clearing text --- src/definitions/modules/dropdown.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index e577eab44..62d0eb109 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -417,7 +417,9 @@ $.fn.dropdown = function(parameters) { var query = $search.val() ; - $text.addClass(className.filtered); + if(module.is.searchSelection()) { + $text.addClass(className.filtered); + } module.filter(query); }, keydown: function(event) {