mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 09:04:14 +02:00
Merge pull request #13191 from AshleyDawson/master
Fixed nested tab elements li activation
This commit is contained in:
@@ -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',
|
||||||
|
Reference in New Issue
Block a user