Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-03-20 07:51:20 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-03-20 07:51:20 +0400
commit630ff4ff7dca4d51474b8b4168e48e60fc858e0c (patch)
treebbadf8b2600c96927a0f70468229dd3b0fb2fd69 /js/bootstrap-collapse.js
parent07d23b927ee4eefdee51d4fcbffb3dece33be698 (diff)
fix collapse bug in ie7+ for initial collapse in
Diffstat (limited to 'js/bootstrap-collapse.js')
-rw-r--r--js/bootstrap-collapse.js2
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
}