diff options
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 |
