0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-29 21:52:22 +01:00

fix up tests

This commit is contained in:
fat 2015-05-13 13:46:08 -07:00
parent b0d142334f
commit c2ced2292a

View File

@ -112,7 +112,7 @@ $(function () {
var $scrollspy = $section
.show()
.find('#scrollspy-example')
.bootstrapScrollspy({ target: $('#ss-target') })
.bootstrapScrollspy({ target: document.getElementById('#ss-target') })
$scrollspy.on('scroll.bs.scrollspy', function () {
assert.ok($section.hasClass('active'), '"active" class still on root node')