Skip to content

Commit

Permalink
Merge pull request #916 from tristanlee85/master
Browse files Browse the repository at this point in the history
Subtext not displayed on refresh
  • Loading branch information
caseyjhol committed Feb 24, 2015
2 parents 115bdf4 + 8eedf57 commit e89774c
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 @@ -502,7 +502,7 @@
var $this = $(this);
var icon = $this.data('icon') && that.options.showIcon ? '<i class="' + that.options.iconBase + ' ' + $this.data('icon') + '"></i> ' : '';
var subtext;
if (that.options.showSubtext && $this.attr('data-subtext') && !that.multiple) {
if (that.options.showSubtext && $this.data('subtext') && !that.multiple) {
subtext = ' <small class="text-muted">' + $this.data('subtext') + '</small>';
} else {
subtext = '';
Expand Down

0 comments on commit e89774c

Please sign in to comment.