Skip to content

Commit

Permalink
Fix liObj calculation when hideDisabled is true
Browse files Browse the repository at this point in the history
  • Loading branch information
caseyjhol committed May 27, 2015
1 parent 5a7b223 commit 5dc9bc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/bootstrap-select.js
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@
}

if (that.options.hideDisabled && isDisabled) {
liIndex--;
return;
}

Expand Down

0 comments on commit 5dc9bc7

Please sign in to comment.