diff --git a/docs/_includes/nav-javascript.html b/docs/_includes/nav-javascript.html index aeeafe2641..741b9cf810 100644 --- a/docs/_includes/nav-javascript.html +++ b/docs/_includes/nav-javascript.html @@ -14,6 +14,7 @@ diff --git a/docs/javascript.html b/docs/javascript.html index 561fc3fd9f..cc125d8328 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -298,6 +298,13 @@ $('#myModal').on('show.bs.modal', function (e) { +

Remove animation

+

For modals that simply appear rather than fade in to view, remove the .fade class from your modal markup.

+{% highlight html %} + +{% endhighlight %}

Usage

The modal plugin toggles your hidden content on demand, via data attributes or JavaScript. It also adds .modal-open to the <body> to override default scrolling behavior and generates a .modal-backdrop to provide a click area for dismissing shown modals when clicking outside the modal.