mirror of
https://github.com/twbs/bootstrap.git
synced 2025-07-31 19:00:23 +02:00
fix modal insertion boolean
This commit is contained in:
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()
|
||||
|
Reference in New Issue
Block a user