1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-14 09:34:36 +02:00

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

This commit is contained in:
Pamela Fox
2011-09-28 14:56:54 -07:00
parent 68605bdd51
commit 1be7e09b97

View File

@@ -130,7 +130,7 @@
<p>Activates your content as a modal. Accepts an optional options <code>object</code>.
<pre class="prettyprint linenums">
$('#my-modal').modal({
closeOnEscape: true
keyboard: true
})</pre>
<h4>.modal('toggle')</h4>
<p>Manually toggles a modal.</p>