diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2012-03-20 07:51:20 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2012-03-20 07:51:20 +0400 |
commit | 630ff4ff7dca4d51474b8b4168e48e60fc858e0c (patch) | |
tree | bbadf8b2600c96927a0f70468229dd3b0fb2fd69 /js/bootstrap-collapse.js | |
parent | 07d23b927ee4eefdee51d4fcbffb3dece33be698 (diff) |
fix collapse bug in ie7+ for initial collapse in
Diffstat (limited to 'js/bootstrap-collapse.js')
-rw-r--r-- | js/bootstrap-collapse.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-collapse.js b/js/bootstrap-collapse.js index 9a364468b7..228d2a182b 100644 --- a/js/bootstrap-collapse.js +++ b/js/bootstrap-collapse.js @@ -74,7 +74,7 @@ [dimension](size || 'auto') [0].offsetWidth - this.$element[size ? 'addClass' : 'removeClass']('collapse') + this.$element[size != null ? 'addClass' : 'removeClass']('collapse') return this } |