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.