mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
fix affix-top unit test to properly clean up after itself
This commit is contained in:
@@ -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()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user