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:
authorfat <jacobthornton@gmail.com>2014-04-16 07:28:08 +0400
committerfat <jacobthornton@gmail.com>2014-04-16 08:16:40 +0400
commitcd4696f7231cbf6f0478a3bfc1b5c4551e3a290e (patch)
tree3737d280158ec34a2a1531b6e0eee7a5d9e951bf /js/collapse.js
parent1254c322fa77edbd87a33ed30dc5904bdbb91a51 (diff)
fixes #11099 - $.collapse() overrides the original dimension of the coll...
Diffstat (limited to 'js/collapse.js')
-rw-r--r--js/collapse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/collapse.js b/js/collapse.js
index 6f2205b6ff..235b1a9e61 100644
--- a/js/collapse.js
+++ b/js/collapse.js
@@ -59,7 +59,7 @@
if (e && e.target != this.$element[0]) return
this.$element
.removeClass('collapsing')
- .addClass('collapse in')[dimension]('auto')
+ .addClass('collapse in')[dimension]('')
this.transitioning = 0
this.$element.trigger('shown.bs.collapse')
}