Skip to content

Commit

Permalink
Fix when select has no options and refresh() called
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyjhol committed May 27, 2015
1 parent 41de553 commit e25d13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bootstrap-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -1497,7 +1497,7 @@
this.liHeight(true);
this.setStyle();
this.setWidth();
this.$searchbox.trigger('propertychange');
if (this.$lis) this.$searchbox.trigger('propertychange');

this.$element.trigger('refreshed.bs.select');
},
Expand Down

0 comments on commit e25d13e

Please sign in to comment.