aboutsummaryrefslogtreecommitdiff
path: root/docs/javascript.html
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2011-09-10 12:49:21 -0700
committerJacob Thornton <[email protected]>2011-09-10 12:49:21 -0700
commit48aa209348c47df65f4edb0d8a36ccaac357eb0a (patch)
tree7dfef7b52a39319c75d6d0fd657b9f9c8f0dfeed /docs/javascript.html
parent79d5f907130a030963b802647e3ed3bcb6300a46 (diff)
downloadbootstrap-48aa209348c47df65f4edb0d8a36ccaac357eb0a.tar.xz
bootstrap-48aa209348c47df65f4edb0d8a36ccaac357eb0a.zip
more tests, more js goodness
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/javascript.html b/docs/javascript.html
index 7d1c6d6ca..8a4636bb3 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -89,12 +89,12 @@ $('#modal-content').modal({
<h4>modal:toggle</h4>
<p> Toggle the modal open state.</p>
<pre class="prettyprint linenums">$('#modal-content').trigger('modal:toggle')</pre>
- <h4>modal:open</h4>
+ <h4>modal:show</h4>
<p>Opens the modal.</p>
- <pre class="prettyprint linenums">$('#modal-content').trigger('modal:open')</pre>
- <h4>modal:close</h4>
+ <pre class="prettyprint linenums">$('#modal-content').trigger('modal:show')</pre>
+ <h4>modal:hide</h4>
<p>Closes the modal.</p>
- <pre class="prettyprint linenums">$('#modal-content').trigger('modal:close')</pre>
+ <pre class="prettyprint linenums">$('#modal-content').trigger('modal:hide')</pre>
<h3>Demo</h3>
<!-- sample modal content -->