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>.
|
||||
<pre class="prettyprint linenums">
|
||||
$('#my-modal').modal({
|
||||
closeOnEscape: true
|
||||
keyboard: true
|
||||
})</pre>
|
||||
<h4>.modal('toggle')</h4>
|
||||
<p>Manually toggles a modal.</p>
|
||||
|
Loading…
Reference in New Issue
Block a user