diff options
| author | Heinrich Fenkart <[email protected]> | 2014-07-08 22:19:46 +0200 |
|---|---|---|
| committer | Heinrich Fenkart <[email protected]> | 2014-07-09 00:42:02 +0200 |
| commit | 05ddea314cb03832f0914939efc7ad6c1f7d8d9b (patch) | |
| tree | cfc636695296d56a070bd124c888ece576f46001 | |
| parent | 31373309a5ac2fb295cca21ba204e2e9a73fb640 (diff) | |
| download | bootstrap-05ddea314cb03832f0914939efc7ad6c1f7d8d9b.tar.xz bootstrap-05ddea314cb03832f0914939efc7ad6c1f7d8d9b.zip | |
Fix IE8 reporting height style as all uppercase
| -rw-r--r-- | js/tests/unit/collapse.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/collapse.js b/js/tests/unit/collapse.js index 976bdcd7b..8e6bb8273 100644 --- a/js/tests/unit/collapse.js +++ b/js/tests/unit/collapse.js @@ -33,14 +33,14 @@ $(function () { var $el = $('<div class="collapse"/>').bootstrapCollapse('show') ok($el.hasClass('in'), 'has class "in"') - ok(!/height/.test($el.attr('style')), 'has height reset') + ok(!/height/i.test($el.attr('style')), 'has height reset') }) test('should hide a collapsed element', function () { var $el = $('<div class="collapse"/>').bootstrapCollapse('hide') ok(!$el.hasClass('in'), 'does not have class "in"') - ok(/height/.test($el.attr('style')), 'has height set') + ok(/height/i.test($el.attr('style')), 'has height set') }) test('should not fire shown when show is prevented', function () { |
