2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-27 14:46:01 +03:00

fix regression in resetting collapse to auto on collapse open. (+ add spec and rebuild)

This commit is contained in:
Jacob Thornton
2012-04-24 18:06:41 -07:00
parent 66ac6e14db
commit aaabe2a46c
6 changed files with 22 additions and 8 deletions
+1 -1
View File
@@ -95,7 +95,7 @@
, transition: function (method, startEvent, completeEvent) {
var that = this
, complete = function () {
if (startEvent == 'show') that.reset()
if (startEvent.type == 'show') that.reset()
that.transitioning = 0
that.$element.trigger(completeEvent)
}