diff options
| author | Mark Otto <[email protected]> | 2013-12-24 12:17:48 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-12-24 12:17:48 -0800 |
| commit | 5c2dfbf33b133a5e31035df970ffa05585eba422 (patch) | |
| tree | 522b5814714b2df5064e441959d515a5ea4a89a0 /js/scrollspy.js | |
| parent | 679c7862374be9b742862923181302f76b3a8c06 (diff) | |
| parent | 25390716ea2a0bf9cd476858c826775d68c2f1cf (diff) | |
| download | bootstrap-5c2dfbf33b133a5e31035df970ffa05585eba422.tar.xz bootstrap-5c2dfbf33b133a5e31035df970ffa05585eba422.zip | |
Merge branch 'master' of github.com:twbs/bootstrap
Conflicts:
docs-assets/js/raw-files.js
Diffstat (limited to 'js/scrollspy.js')
| -rw-r--r-- | js/scrollspy.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/scrollspy.js b/js/scrollspy.js index 2e341bb89..79fa10e6d 100644 --- a/js/scrollspy.js +++ b/js/scrollspy.js @@ -47,7 +47,7 @@ .map(function () { var $el = $(this) var href = $el.data('target') || $el.attr('href') - var $href = /^#\w/.test(href) && $(href) + var $href = /^#./.test(href) && $(href) return ($href && $href.length |
