Commit c2ced229 authored by fat's avatar fat

fix up tests

parent b0d14233
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment