aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/assets/js/bootstrap-modals.js1
-rw-r--r--examples/bootstrap-js.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/assets/js/bootstrap-modals.js b/examples/assets/js/bootstrap-modals.js
index f684be25a..05a693d82 100644
--- a/examples/assets/js/bootstrap-modals.js
+++ b/examples/assets/js/bootstrap-modals.js
@@ -65,6 +65,7 @@
this.$element = $(this.settings.content)
.delegate('.close', 'click', function (e) { e.preventDefault(); that.close() })
.appendTo(document.body)
+ .show()
setTimeout(function () {
that.$element.addClass('open')
diff --git a/examples/bootstrap-js.html b/examples/bootstrap-js.html
index 2cf545148..37aea3464 100644
--- a/examples/bootstrap-js.html
+++ b/examples/bootstrap-js.html
@@ -118,7 +118,7 @@ $('#modal-content').modal({
<h3>Demo</h3>
<!-- sample modal content -->
- <div id="modal-from-dom" class="modal">
+ <div id="modal-from-dom" style="display: none" class="modal">
<div class="modal-header">
<h3>Modal Heading</h3>
<a href="#" class="close">&times;</a>