From 53ff2682cd95dd96fc1fbf234d7b0530127a464b Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Thu, 24 Nov 2011 20:27:18 -0800 Subject: clean up scrollspy a bit - add public api method --- docs/javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index aa13d523d..f625e2323 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -201,7 +201,7 @@

Markup

You can activate modals on your page easily without having to write a single line of javascript. Just set data-toggle="modal" on a controller element with a data-target="#foo" which corresponds to a modal element id, and when clicked, it will launch your modal. To add modal options, just include them as additoinal data attributes.

-<a class="btn" data-toggle="modal" data-target="my-modal" >Launch Modal</a>
+<a class="btn" data-toggle="modal" data-target="#myModal" >Launch Modal</a>
 

Notice If you want your modal to animate in and out, just add a .fade class to the .modal element (refer to the demo to see this in action).

Methods

-- cgit v1.2.3