Skip to content

Commit 1be7e09

Browse files
committed
Think the option is supposed to be 'keyboard' in the docs, not 'closeOnEsc'.
1 parent 68605bd commit 1be7e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/javascript.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ <h4>.modal(options)</h4>
130130
<p>Activates your content as a modal. Accepts an optional options <code>object</code>.
131131
<pre class="prettyprint linenums">
132132
$('#my-modal').modal({
133-
closeOnEscape: true
133+
keyboard: true
134134
})</pre>
135135
<h4>.modal('toggle')</h4>
136136
<p>Manually toggles a modal.</p>

0 commit comments

Comments
 (0)