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 /dist/js/bootstrap.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 'dist/js/bootstrap.js')
| -rw-r--r-- | dist/js/bootstrap.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js index 3623bba59..bbe4784a2 100644 --- a/dist/js/bootstrap.js +++ b/dist/js/bootstrap.js @@ -1532,7 +1532,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery" .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 |
