aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-11-20 23:26:37 -0800
committerChris Rebert <[email protected]>2014-11-20 23:26:37 -0800
commitbc5a753b67c2ce434f64ba4c2f9baa58773604fb (patch)
treeeeaefe5779a3d613f2a2e2a96d770bbec8812301
parent7527ce93c97f37ca078893a90f19bd1e8f6c2702 (diff)
downloadbootstrap-bc5a753b67c2ce434f64ba4c2f9baa58773604fb.tar.xz
bootstrap-bc5a753b67c2ce434f64ba4c2f9baa58773604fb.zip
fix affix-top unit test to properly clean up after itself
-rw-r--r--js/tests/unit/affix.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tests/unit/affix.js b/js/tests/unit/affix.js
index 2e82a7dbf..3152d8d2e 100644
--- a/js/tests/unit/affix.js
+++ b/js/tests/unit/affix.js
@@ -86,6 +86,7 @@ $(function () {
})
.on('affixed-top.bs.affix', function () {
ok($('#affixTopTarget').hasClass('affix-top'), 'affix-top class applied')
+ $('#padding-offset').remove()
start()
})