mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-24 00:10:24 +00:00
fix modal insertion boolean
This commit is contained in:
parent
76cadd1d2a
commit
aa0c4acd80
1 changed files with 1 additions and 1 deletions
2
js/bootstrap-modal.js
vendored
2
js/bootstrap-modal.js
vendored
|
|
@ -51,7 +51,7 @@
|
|||
backdrop.call(this, function () {
|
||||
var transition = $.support.transition && that.$element.hasClass('fade')
|
||||
|
||||
!that.$element.parent() && that.$element.appendTo(document.body) //don't move modals dom position
|
||||
!that.$element.parent().length && that.$element.appendTo(document.body) //don't move modals dom position
|
||||
|
||||
that.$element
|
||||
.show()
|
||||
|
|
|
|||
Loading…
Reference in a new issue