From: Jacob Thornton Date: Tue, 20 Mar 2012 03:51:20 +0000 (-0700) Subject: fix collapse bug in ie7+ for initial collapse in X-Git-Tag: v2.0.3~5^2~108^2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=630ff4ff7dca4d51474b8b4168e48e60fc858e0c;p=thirdparty%2Fbootstrap.git fix collapse bug in ie7+ for initial collapse in --- diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 92ba97c6d7..d9a2d0e30f 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/js/bootstrap-collapse.js b/docs/assets/js/bootstrap-collapse.js index 9a364468b7..228d2a182b 100644 --- a/docs/assets/js/bootstrap-collapse.js +++ b/docs/assets/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 } 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 }