diff options
| author | Johann-S <[email protected]> | 2016-10-24 10:57:32 +0200 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2016-10-25 14:07:41 +0200 |
| commit | 9d129a43d6c24d9e60cc8fc7cfbddaaa4c586fdf (patch) | |
| tree | d2bebaf0ed5680d7a3c86c22e5528afde936a7de /js/tests/unit/alert.js | |
| parent | f11f630acd4b0cfad3188d125241a41b6ab11627 (diff) | |
| download | bootstrap-9d129a43d6c24d9e60cc8fc7cfbddaaa4c586fdf.tar.xz bootstrap-9d129a43d6c24d9e60cc8fc7cfbddaaa4c586fdf.zip | |
Use a single class name for opened/expanded/shown state of widgets
Diffstat (limited to 'js/tests/unit/alert.js')
| -rw-r--r-- | js/tests/unit/alert.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tests/unit/alert.js b/js/tests/unit/alert.js index 97818960a..3128e20be 100644 --- a/js/tests/unit/alert.js +++ b/js/tests/unit/alert.js @@ -34,7 +34,7 @@ $(function () { QUnit.test('should fade element out on clicking .close', function (assert) { assert.expect(1) - var alertHTML = '<div class="alert alert-danger fade in">' + var alertHTML = '<div class="alert alert-danger fade active">' + '<a class="close" href="#" data-dismiss="alert">×</a>' + '<p><strong>Holy guacamole!</strong> Best check yo self, you\'re not looking too good.</p>' + '</div>' @@ -43,12 +43,12 @@ $(function () { $alert.find('.close').trigger('click') - assert.strictEqual($alert.hasClass('in'), false, 'remove .in class on .close click') + assert.strictEqual($alert.hasClass('active'), false, 'remove .active class on .close click') }) QUnit.test('should remove element when clicking .close', function (assert) { assert.expect(2) - var alertHTML = '<div class="alert alert-danger fade in">' + var alertHTML = '<div class="alert alert-danger fade active">' + '<a class="close" href="#" data-dismiss="alert">×</a>' + '<p><strong>Holy guacamole!</strong> Best check yo self, you\'re not looking too good.</p>' + '</div>' |
