mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-25 21:09:06 +02:00
add bootstrap-scrollspy
This commit is contained in:
3
js/bootstrap-modal.js
vendored
3
js/bootstrap-modal.js
vendored
@@ -59,6 +59,7 @@
|
||||
this.isShown = true
|
||||
|
||||
_.escape.call(this)
|
||||
|
||||
_.backdrop.call(this, function () {
|
||||
that.$element
|
||||
.appendTo(document.body)
|
||||
@@ -133,6 +134,8 @@
|
||||
$.support.transition && this.$element.hasClass('fade')?
|
||||
this.$backdrop.one(transitionEnd, removeElement) :
|
||||
removeElement()
|
||||
} else {
|
||||
callback()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user