mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
fix affix-top unit test to properly clean up after itself
This commit is contained in:
parent
7527ce93c9
commit
bc5a753b67
@ -86,6 +86,7 @@ $(function () {
|
|||||||
})
|
})
|
||||||
.on('affixed-top.bs.affix', function () {
|
.on('affixed-top.bs.affix', function () {
|
||||||
ok($('#affixTopTarget').hasClass('affix-top'), 'affix-top class applied')
|
ok($('#affixTopTarget').hasClass('affix-top'), 'affix-top class applied')
|
||||||
|
$('#padding-offset').remove()
|
||||||
start()
|
start()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user