Skip to content

Commit

Permalink
add missing <code> within docs heading for .modal('handleUpdate')
Browse files Browse the repository at this point in the history
  • Loading branch information
cvrebert committed Mar 24, 2015
1 parent d37bc2a commit 2f3076f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_includes/js/modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ <h4><code>.modal('hide')</code></h4>
<p>Manually hides a modal. <strong>Returns to the caller before the modal has actually been hidden</strong> (i.e. before the <code>hidden.bs.modal</code> event occurs).</p>
{% highlight js %}$('#myModal').modal('hide'){% endhighlight %}

<h4>.modal('handleUpdate')</h4>
<h4><code>.modal('handleUpdate')</code></h4>
<p>Readjusts the modal's positioning to counter a scrollbar in case one should appear, which would make the modal jump to the left.</p>
<p>Only needed when the height of the modal changes while it is open.</p>
{% highlight js %}$('#myModal').modal('handleUpdate'){% endhighlight %}
Expand Down

0 comments on commit 2f3076f

Please sign in to comment.