diff options
| author | Jacob Thornton <[email protected]> | 2012-04-14 23:24:19 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-04-14 23:24:19 -0700 |
| commit | 1ca1ef94ee80b8c5fa5f2a1e908a8d00fdfdf268 (patch) | |
| tree | 43169d489e0e92699f3bbc65aeccf24bc65aadb8 | |
| parent | cf4924764c94cc7c5f05cef60cc8a68199faf3f2 (diff) | |
| download | bootstrap-1ca1ef94ee80b8c5fa5f2a1e908a8d00fdfdf268.tar.xz bootstrap-1ca1ef94ee80b8c5fa5f2a1e908a8d00fdfdf268.zip | |
fix opera bug \o/ !!!! #1776
| -rw-r--r-- | docs/assets/bootstrap.zip | bin | 71463 -> 71466 bytes | |||
| -rw-r--r-- | docs/assets/js/bootstrap-scrollspy.js | 7 | ||||
| -rw-r--r-- | js/bootstrap-scrollspy.js | 7 |
3 files changed, 6 insertions, 8 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip Binary files differindex 976986b06..f099f408a 100644 --- a/docs/assets/bootstrap.zip +++ b/docs/assets/bootstrap.zip diff --git a/docs/assets/js/bootstrap-scrollspy.js b/docs/assets/js/bootstrap-scrollspy.js index 3dee609c7..f0400813f 100644 --- a/docs/assets/js/bootstrap-scrollspy.js +++ b/docs/assets/js/bootstrap-scrollspy.js @@ -94,12 +94,11 @@ this.activeTarget = target - this.$body - .find(this.selector).parent('.active') + $(this.selector) + .parent('.active') .removeClass('active') - active = this.$body - .find(this.selector + '[href="' + target + '"]') + active = $(this.selector + '[href="' + target + '"]') .parent('li') .addClass('active') diff --git a/js/bootstrap-scrollspy.js b/js/bootstrap-scrollspy.js index 3dee609c7..f0400813f 100644 --- a/js/bootstrap-scrollspy.js +++ b/js/bootstrap-scrollspy.js @@ -94,12 +94,11 @@ this.activeTarget = target - this.$body - .find(this.selector).parent('.active') + $(this.selector) + .parent('.active') .removeClass('active') - active = this.$body - .find(this.selector + '[href="' + target + '"]') + active = $(this.selector + '[href="' + target + '"]') .parent('li') .addClass('active') |
