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:
commit
c312d735d9
@ -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',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user