From 2f3076f20acb6b34279b1ef77063a8fff33f756e Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 24 Mar 2015 15:15:21 -0700 Subject: [PATCH] add missing within docs heading for `.modal('handleUpdate')` --- docs/_includes/js/modal.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index 8f6b2fb6c786..1f681613615b 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -476,7 +476,7 @@

.modal('hide')

Manually hides a modal. Returns to the caller before the modal has actually been hidden (i.e. before the hidden.bs.modal event occurs).

{% highlight js %}$('#myModal').modal('hide'){% endhighlight %} -

.modal('handleUpdate')

+

.modal('handleUpdate')

Readjusts the modal's positioning to counter a scrollbar in case one should appear, which would make the modal jump to the left.

Only needed when the height of the modal changes while it is open.

{% highlight js %}$('#myModal').modal('handleUpdate'){% endhighlight %}