mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-30 12:24:19 +01:00
Think the option is supposed to be 'keyboard' in the docs, not 'closeOnEsc'.
This commit is contained in:
parent
68605bdd51
commit
1be7e09b97
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user