From: Chris Rebert Date: Tue, 24 Mar 2015 22:15:21 +0000 (-0700) Subject: add missing within docs heading for `.modal('handleUpdate')` X-Git-Tag: v3.3.5~191 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f3076f20acb6b34279b1ef77063a8fff33f756e;p=thirdparty%2Fbootstrap.git add missing within docs heading for `.modal('handleUpdate')` --- diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index 8f6b2fb6c7..1f68161361 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -476,7 +476,7 @@ $('#myModal').modal({

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 %}