From: Pamela Fox Date: Wed, 28 Sep 2011 21:56:54 +0000 (-0700) Subject: Think the option is supposed to be 'keyboard' in the docs, not 'closeOnEsc'. X-Git-Tag: v1.4.0~63^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1be7e09b97c096e2e6199feee348d483ba4a7d0f;p=thirdparty%2Fbootstrap.git Think the option is supposed to be 'keyboard' in the docs, not 'closeOnEsc'. --- diff --git a/docs/javascript.html b/docs/javascript.html index bb8864d463..e1d679d3f4 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -130,7 +130,7 @@

Activates your content as a modal. Accepts an optional options object.

 $('#my-modal').modal({
-  closeOnEscape: true
+  keyboard: true
 })

.modal('toggle')

Manually toggles a modal.