Commit 1e4d201f authored by David Stutz's avatar David Stutz

Fixed #92.

See #92.
parent f906e4ba
......@@ -89,7 +89,8 @@
if (value != this.options.selectAllValue) {
var $option = $('option[value="' + value + '"]', this.$select);
var label = $option.attr('label') || $option.text();
if (label.substring(0, this.query.length).toLowerCase() != this.query.toLowerCase()) {
if (value.indexOf(this.query) === -1) {
$(element).hide();
}
else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment