]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Think the option is supposed to be 'keyboard' in the docs, not 'closeOnEsc'. 332/head
authorPamela Fox <pamela.fox@gmail.com>
Wed, 28 Sep 2011 21:56:54 +0000 (14:56 -0700)
committerPamela Fox <pamela.fox@gmail.com>
Wed, 28 Sep 2011 21:56:54 +0000 (14:56 -0700)
docs/javascript.html

index bb8864d463d3bf324befb8715118257cd1ec28a9..e1d679d3f414b74f6d27ad506f893de66369435a 100644 (file)
           <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>