aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorfat <[email protected]>2013-12-18 21:38:35 -0800
committerfat <[email protected]>2013-12-23 23:30:06 -0800
commitfe839e6e78fa07ab422b5d38189bc8f8929cead0 (patch)
tree58d3e65f233c1e148430cd8f04d5edf98d62d5b6 /js
parent1fc08c1973b30a1fc57a241a5bb68566cfc1d981 (diff)
downloadbootstrap-fe839e6e78fa07ab422b5d38189bc8f8929cead0.tar.xz
bootstrap-fe839e6e78fa07ab422b5d38189bc8f8929cead0.zip
change where modal loads content -– fixes #10105, #9318, #9459
Diffstat (limited to 'js')
-rw-r--r--js/modal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/modal.js b/js/modal.js
index 794cbad80..a815533ef 100644
--- a/js/modal.js
+++ b/js/modal.js
@@ -18,7 +18,7 @@
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 = {