mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
fix up tests
This commit is contained in:
parent
b0d142334f
commit
c2ced2292a
@ -112,7 +112,7 @@ $(function () {
|
|||||||
var $scrollspy = $section
|
var $scrollspy = $section
|
||||||
.show()
|
.show()
|
||||||
.find('#scrollspy-example')
|
.find('#scrollspy-example')
|
||||||
.bootstrapScrollspy({ target: $('#ss-target') })
|
.bootstrapScrollspy({ target: document.getElementById('#ss-target') })
|
||||||
|
|
||||||
$scrollspy.on('scroll.bs.scrollspy', function () {
|
$scrollspy.on('scroll.bs.scrollspy', function () {
|
||||||
assert.ok($section.hasClass('active'), '"active" class still on root node')
|
assert.ok($section.hasClass('active'), '"active" class still on root node')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user