diff options
| author | Jacob Thornton <[email protected]> | 2012-03-21 23:51:32 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-03-21 23:51:32 -0700 |
| commit | 20e085723b3f55fdc1db7f1687d535af7d127319 (patch) | |
| tree | 22bda2e4fb0391d3a336883e3ac8598b71f9cbf6 /docs | |
| parent | 706ee46b73b58059230b24589160da784778aad2 (diff) | |
| download | bootstrap-20e085723b3f55fdc1db7f1687d535af7d127319.tar.xz bootstrap-20e085723b3f55fdc1db7f1687d535af7d127319.zip | |
cache $(href) lookup
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/bootstrap.zip | bin | 55964 -> 55979 bytes | |||
| -rw-r--r-- | docs/assets/js/bootstrap-scrollspy.js | 7 |
2 files changed, 4 insertions, 3 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip Binary files differindex caf293653..72d0da006 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 5008b0fe9..487e6818b 100644 --- a/docs/assets/js/bootstrap-scrollspy.js +++ b/docs/assets/js/bootstrap-scrollspy.js @@ -53,9 +53,10 @@ .find(this.selector) .map(function () { var href = $(this).attr('href') - return /^#\w/.test(href) - && $(href).length - && [[ $(href).position().top, href ]] + , $href = /^#\w/.test(href) && $(href) + return $href + && href.length + && [[ $href.position().top, href ]] }) .sort(function (a, b) { return a[0] - b[0] }) .each(function () { |
