Skip to content

Commit

Permalink
grunt dist
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyjhol committed Jun 1, 2015
1 parent 954bdcc commit 354b2fe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file modified bootstrap-select-1.7.3.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions dist/js/bootstrap-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@
titleOption.value = '';
element.insertBefore(titleOption, element.firstChild);
// Check if selected attribute is already set on an option. If not, select the titleOption option.
if (element.options[element.selectedIndex].getAttribute('selected') === null) titleOption.selected = true;
if ($(element.options[element.selectedIndex]).attr('selected') === undefined) titleOption.selected = true;
}
}

Expand Down Expand Up @@ -1230,9 +1230,9 @@
if (that.$searchbox.val()) {
var $searchBase = that.$lis.not('.is-hidden').removeClass('hidden').children('a');
if (that.options.liveSearchNormalize) {
$searchBase = $searchBase.not(':a' + that._searchStyle() + '(' + normalizeToBase(that.$searchbox.val()) + ')');
$searchBase = $searchBase.not(':a' + that._searchStyle() + '("' + normalizeToBase(that.$searchbox.val()) + '")');
} else {
$searchBase = $searchBase.not(':' + that._searchStyle() + '(' + that.$searchbox.val() + ')');
$searchBase = $searchBase.not(':' + that._searchStyle() + '("' + that.$searchbox.val() + '")');
}
$searchBase.parent().addClass('hidden');

Expand Down
2 changes: 1 addition & 1 deletion dist/js/bootstrap-select.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/bootstrap-select.min.js

Large diffs are not rendered by default.

0 comments on commit 354b2fe

Please sign in to comment.