Skip to content

Commit

Permalink
remove unnecessary var that declaration (#2275)
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyjhol committed Oct 10, 2019
1 parent 4af75fa commit f3ef86d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/bootstrap-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -2269,8 +2269,6 @@
},

checkDisabled: function () {
var that = this;

if (this.isDisabled()) {
this.$newElement[0].classList.add(classNames.DISABLED);
this.$button.addClass(classNames.DISABLED).attr('tabindex', -1).attr('aria-disabled', true);
Expand Down

0 comments on commit f3ef86d

Please sign in to comment.