aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js/modal.html
diff options
context:
space:
mode:
authorSteven Black <[email protected]>2015-02-25 04:00:37 +0200
committerXhmikosR <[email protected]>2015-03-03 18:22:09 +0200
commit457885075f8fa004f3a190efdcf381af218e1bb7 (patch)
tree2bca5372ef834b621c63a3af1ed4e84d1bf7ddda /docs/_includes/js/modal.html
parent420a8088a4086cf06d930070404531cba8db8a8d (diff)
downloadbootstrap-457885075f8fa004f3a190efdcf381af218e1bb7.tar.xz
bootstrap-457885075f8fa004f3a190efdcf381af218e1bb7.zip
Javascript docs: Accessibility and cosmetic changes to headings.
Closes #15915 by merging it.
Diffstat (limited to 'docs/_includes/js/modal.html')
-rw-r--r--docs/_includes/js/modal.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html
index 2e3233143..8f6b2fb6c 100644
--- a/docs/_includes/js/modal.html
+++ b/docs/_includes/js/modal.html
@@ -456,7 +456,7 @@ $('#exampleModal').on('show.bs.modal', function (event) {
<h3 id="modals-methods">Methods</h3>
- <h4>.modal(options)</h4>
+ <h4><code>.modal(options)</code></h4>
<p>Activates your content as a modal. Accepts an optional options <code>object</code>.</p>
{% highlight js %}
$('#myModal').modal({
@@ -464,15 +464,15 @@ $('#myModal').modal({
})
{% endhighlight %}
- <h4>.modal('toggle')</h4>
+ <h4><code>.modal('toggle')</code></h4>
<p>Manually toggles a modal. <strong>Returns to the caller before the modal has actually been shown or hidden</strong> (i.e. before the <code>shown.bs.modal</code> or <code>hidden.bs.modal</code> event occurs).</p>
{% highlight js %}$('#myModal').modal('toggle'){% endhighlight %}
- <h4>.modal('show')</h4>
+ <h4><code>.modal('show')</code></h4>
<p>Manually opens a modal. <strong>Returns to the caller before the modal has actually been shown</strong> (i.e. before the <code>shown.bs.modal</code> event occurs).</p>
{% highlight js %}$('#myModal').modal('show'){% endhighlight %}
- <h4>.modal('hide')</h4>
+ <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 %}