Skip to content

Commit

Permalink
change where modal loads content -– fixes #10105, #9318, #9459
Browse files Browse the repository at this point in the history
  • Loading branch information
fat committed Dec 19, 2013
1 parent 22f9767 commit ab8c8e6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/js/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
this.$backdrop =
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 = {
Expand Down
Loading

0 comments on commit ab8c8e6

Please sign in to comment.