1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-21 20:55:50 +02:00
This commit is contained in:
fat
2013-12-25 20:33:05 -08:00
parent 3161acd710
commit fc7049b18f
4 changed files with 4 additions and 4 deletions

View File

@@ -1591,7 +1591,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
this.activeTarget = target
$(this.selector)
.parents('.active')
.parentsUntil(this.options.target, '.active')
.removeClass('active')
var selector = this.selector +