Commit fe839e6e authored by fat's avatar fat
Browse files

change where modal loads content -– fixes #10105, #9318, #9459

parent 1fc08c19
Showing with 4 additions and 4 deletions
+4 -4
...@@ -785,7 +785,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery" ...@@ -785,7 +785,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
this.$backdrop = this.$backdrop =
this.isShown = null this.isShown = null
if (this.options.remote) this.$element.load(this.options.remote) if (this.options.remote) this.$element.find('.modal-content').load(this.options.remote)
} }
Modal.DEFAULTS = { Modal.DEFAULTS = {
......
This diff is collapsed.
This diff is collapsed.
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
this.$backdrop = this.$backdrop =
this.isShown = null this.isShown = null
if (this.options.remote) this.$element.load(this.options.remote) if (this.options.remote) this.$element.find('.modal-content').load(this.options.remote)
} }
Modal.DEFAULTS = { Modal.DEFAULTS = {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment