mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
fix opera bug \o/ !!!! #1776
This commit is contained in:
parent
cf4924764c
commit
1ca1ef94ee
Binary file not shown.
7
docs/assets/js/bootstrap-scrollspy.js
vendored
7
docs/assets/js/bootstrap-scrollspy.js
vendored
@ -94,12 +94,11 @@
|
|||||||
|
|
||||||
this.activeTarget = target
|
this.activeTarget = target
|
||||||
|
|
||||||
this.$body
|
$(this.selector)
|
||||||
.find(this.selector).parent('.active')
|
.parent('.active')
|
||||||
.removeClass('active')
|
.removeClass('active')
|
||||||
|
|
||||||
active = this.$body
|
active = $(this.selector + '[href="' + target + '"]')
|
||||||
.find(this.selector + '[href="' + target + '"]')
|
|
||||||
.parent('li')
|
.parent('li')
|
||||||
.addClass('active')
|
.addClass('active')
|
||||||
|
|
||||||
|
7
js/bootstrap-scrollspy.js
vendored
7
js/bootstrap-scrollspy.js
vendored
@ -94,12 +94,11 @@
|
|||||||
|
|
||||||
this.activeTarget = target
|
this.activeTarget = target
|
||||||
|
|
||||||
this.$body
|
$(this.selector)
|
||||||
.find(this.selector).parent('.active')
|
.parent('.active')
|
||||||
.removeClass('active')
|
.removeClass('active')
|
||||||
|
|
||||||
active = this.$body
|
active = $(this.selector + '[href="' + target + '"]')
|
||||||
.find(this.selector + '[href="' + target + '"]')
|
|
||||||
.parent('li')
|
.parent('li')
|
||||||
.addClass('active')
|
.addClass('active')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user