0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-18 15:54:26 +01:00

Merge pull request #13191 from AshleyDawson/master

Fixed nested tab elements li activation
This commit is contained in:
Jacob 2014-05-12 20:57:21 -07:00
commit c312d735d9

View File

@ -40,7 +40,7 @@
var $target = $(selector) var $target = $(selector)
this.activate($this.parent('li'), $ul) this.activate($this.closest('li'), $ul)
this.activate($target, $target.parent(), function () { this.activate($target, $target.parent(), function () {
$this.trigger({ $this.trigger({
type: 'shown.bs.tab', type: 'shown.bs.tab',