1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05: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.activeTarget = target
$(this.selector) $(this.selector)
.parents('.active') .parentsUntil(this.options.target, '.active')
.removeClass('active') .removeClass('active')
var selector = this.selector + var selector = this.selector +

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -85,7 +85,7 @@
this.activeTarget = target this.activeTarget = target
$(this.selector) $(this.selector)
.parents('.active') .parentsUntil(this.options.target, '.active')
.removeClass('active') .removeClass('active')
var selector = this.selector + var selector = this.selector +