Skip to content

Commit

Permalink
Fixed issue twbs#17754
Browse files Browse the repository at this point in the history
Updated tab.js to be able to work with <ol> as well as <ul>.
  • Loading branch information
daleparkerwinston committed Oct 15, 2015
1 parent fc0ba27 commit e0416e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

Tab.prototype.show = function () {
var $this = this.element
var $list = $this.closest('ul:not(.dropdown-menu), ol:not(.dropdown-menu)')
var $list = $this.closest('ul:not(.dropdown-menu), ol:not(.dropdown-menu)')
var selector = $this.data('target')

if (!selector) {
Expand Down

0 comments on commit e0416e4

Please sign in to comment.