diff options
| author | fat <[email protected]> | 2013-12-23 22:08:43 -0800 |
|---|---|---|
| committer | fat <[email protected]> | 2013-12-23 22:08:43 -0800 |
| commit | a87b150bc771e3bc6e62fd2ca8a4ea938c48e28c (patch) | |
| tree | 2b7d34951a8b0b490fd880949f3b0e647098d5b6 /js | |
| parent | 71e9db41834ae1f9873e4047033f868be5e98036 (diff) | |
| download | bootstrap-a87b150bc771e3bc6e62fd2ca8a4ea938c48e28c.tar.xz bootstrap-a87b150bc771e3bc6e62fd2ca8a4ea938c48e28c.zip | |
fixes #10205 Scrollspy Doesn't Support Chinese ID Targets http://mathiasbynens.be/notes/html5-id-class
Diffstat (limited to '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 3393572b7..e7c589350 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 |
