mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-25 04:51:39 +02:00
fixes #9836
This commit is contained in:
@@ -56,7 +56,8 @@
|
||||
|
||||
this.transitioning = 1
|
||||
|
||||
var complete = function () {
|
||||
var complete = function (e) {
|
||||
if (e && e.target != this.$element[0]) return
|
||||
this.$element
|
||||
.removeClass('collapsing')
|
||||
.addClass('collapse in')
|
||||
@@ -95,7 +96,8 @@
|
||||
|
||||
this.transitioning = 1
|
||||
|
||||
var complete = function () {
|
||||
var complete = function (e) {
|
||||
if (e && e.target != this.$element[0]) return
|
||||
this.transitioning = 0
|
||||
this.$element
|
||||
.trigger('hidden.bs.collapse')
|
||||
|
Reference in New Issue
Block a user