diff options
| author | Mark Otto <[email protected]> | 2014-05-20 23:27:40 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-05-20 23:27:40 -0700 |
| commit | 707b362b801d7a430c1911493a65085e81b4ee8d (patch) | |
| tree | b659b23c3884e9100c1e800161e96110a0853294 /js/scrollspy.js | |
| parent | bdd822a94cdf2d452e067569e76ca1537dc74d8d (diff) | |
| parent | 3dd1531d81c90d6d1cf04962032f868d315ab21c (diff) | |
| download | bootstrap-707b362b801d7a430c1911493a65085e81b4ee8d.tar.xz bootstrap-707b362b801d7a430c1911493a65085e81b4ee8d.zip | |
Merge branch 'master' into docs-theme-toggler
Conflicts:
docs/assets/css/docs.min.css
Diffstat (limited to 'js/scrollspy.js')
| -rw-r--r-- | js/scrollspy.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/scrollspy.js b/js/scrollspy.js index 1f9153552..74e016dc9 100644 --- a/js/scrollspy.js +++ b/js/scrollspy.js @@ -32,6 +32,8 @@ this.process() } + ScrollSpy.VERSION = '3.1.1' + ScrollSpy.DEFAULTS = { offset: 10 } @@ -46,6 +48,7 @@ this.$body .find(this.selector) + .filter(':visible') .map(function () { var $el = $(this) var href = $el.data('target') || $el.attr('href') |
