diff --git a/js/tests/unit/alert.js b/js/tests/unit/alert.js index 755d9d1e550c..1de46e06fd23 100644 --- a/js/tests/unit/alert.js +++ b/js/tests/unit/alert.js @@ -46,15 +46,15 @@ $(function () { test('should not fire closed when close is prevented', function () { $.support.transition = false - stop(); + stop() $('
') .on('close.bs.alert', function (e) { - e.preventDefault(); - ok(true); - start(); + e.preventDefault() + ok(true) + start() }) .on('closed.bs.alert', function () { - ok(false); + ok(false) }) .alert('close') }) diff --git a/js/tests/unit/carousel.js b/js/tests/unit/carousel.js index 6851e17a5ede..6f69855c7736 100644 --- a/js/tests/unit/carousel.js +++ b/js/tests/unit/carousel.js @@ -21,12 +21,12 @@ $(function () { stop() $('