Skip to content

Commit

Permalink
Think the option is supposed to be 'keyboard' in the docs, not 'close…
Browse files Browse the repository at this point in the history
…OnEsc'.
  • Loading branch information
pamelafox committed Sep 28, 2011
1 parent 68605bd commit 1be7e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/javascript.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h4>.modal(options)</h4>
<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>
Expand Down

0 comments on commit 1be7e09

Please sign in to comment.