]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
add missing <code> within docs heading for `.modal('handleUpdate')`
authorChris Rebert <github@rebertia.com>
Tue, 24 Mar 2015 22:15:21 +0000 (15:15 -0700)
committerChris Rebert <github@rebertia.com>
Tue, 24 Mar 2015 22:15:21 +0000 (15:15 -0700)
docs/_includes/js/modal.html

index 8f6b2fb6c7864123f326c5285761fd96837e7dbe..1f681613615b96a1adabb2bf5990070e06833bdb 100644 (file)
@@ -476,7 +476,7 @@ $('#myModal').modal({
   <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 %}