From 1be7e09b97c096e2e6199feee348d483ba4a7d0f Mon Sep 17 00:00:00 2001 From: Pamela Fox Date: Wed, 28 Sep 2011 14:56:54 -0700 Subject: [PATCH] Think the option is supposed to be 'keyboard' in the docs, not 'closeOnEsc'. --- docs/javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/javascript.html b/docs/javascript.html index bb8864d463d3..e1d679d3f414 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -130,7 +130,7 @@

.modal(options)

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

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

.modal('toggle')

Manually toggles a modal.