Commit 1be7e09b authored by Pamela Fox's avatar Pamela Fox

Think the option is supposed to be 'keyboard' in the docs, not 'closeOnEsc'.

parent 68605bdd
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
<p>Activates your content as a modal. Accepts an optional options <code>object</code>. <p>Activates your content as a modal. Accepts an optional options <code>object</code>.
<pre class="prettyprint linenums"> <pre class="prettyprint linenums">
$('#my-modal').modal({ $('#my-modal').modal({
closeOnEscape: true keyboard: true
})</pre> })</pre>
<h4>.modal('toggle')</h4> <h4>.modal('toggle')</h4>
<p>Manually toggles a modal.</p> <p>Manually toggles a modal.</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment