From: Chris Rebert Date: Fri, 21 Nov 2014 07:26:37 +0000 (-0800) Subject: fix affix-top unit test to properly clean up after itself X-Git-Tag: v3.3.2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc5a753b67c2ce434f64ba4c2f9baa58773604fb;p=thirdparty%2Fbootstrap.git fix affix-top unit test to properly clean up after itself --- diff --git a/js/tests/unit/affix.js b/js/tests/unit/affix.js index 2e82a7dbfb..3152d8d2e4 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() })