mirror of https://github.com/twbs/bootstrap.git
fixes #9836
This commit is contained in:
parent
90eb52495b
commit
4d96e69a55
|
@ -516,7 +516,8 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
|
||||||
|
|
||||||
this.transitioning = 1
|
this.transitioning = 1
|
||||||
|
|
||||||
var complete = function () {
|
var complete = function (e) {
|
||||||
|
if (e && e.target != this.$element[0]) return
|
||||||
this.$element
|
this.$element
|
||||||
.removeClass('collapsing')
|
.removeClass('collapsing')
|
||||||
.addClass('collapse in')
|
.addClass('collapse in')
|
||||||
|
@ -555,7 +556,8 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
|
||||||
|
|
||||||
this.transitioning = 1
|
this.transitioning = 1
|
||||||
|
|
||||||
var complete = function () {
|
var complete = function (e) {
|
||||||
|
if (e && e.target != this.$element[0]) return
|
||||||
this.transitioning = 0
|
this.transitioning = 0
|
||||||
this.$element
|
this.$element
|
||||||
.trigger('hidden.bs.collapse')
|
.trigger('hidden.bs.collapse')
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -56,7 +56,8 @@
|
||||||
|
|
||||||
this.transitioning = 1
|
this.transitioning = 1
|
||||||
|
|
||||||
var complete = function () {
|
var complete = function (e) {
|
||||||
|
if (e && e.target != this.$element[0]) return
|
||||||
this.$element
|
this.$element
|
||||||
.removeClass('collapsing')
|
.removeClass('collapsing')
|
||||||
.addClass('collapse in')
|
.addClass('collapse in')
|
||||||
|
@ -95,7 +96,8 @@
|
||||||
|
|
||||||
this.transitioning = 1
|
this.transitioning = 1
|
||||||
|
|
||||||
var complete = function () {
|
var complete = function (e) {
|
||||||
|
if (e && e.target != this.$element[0]) return
|
||||||
this.transitioning = 0
|
this.transitioning = 0
|
||||||
this.$element
|
this.$element
|
||||||
.trigger('hidden.bs.collapse')
|
.trigger('hidden.bs.collapse')
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue