0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Fix #12563: Reiterate that empty tooltips+popovers do not get displayed

This commit is contained in:
David Nguyen 2014-10-02 10:44:20 -07:00
parent 33afb8a37b
commit 6fa7495333
2 changed files with 2 additions and 2 deletions

View File

@ -246,7 +246,7 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
<p>Initializes popovers for an element collection.</p>
<h4>.popover('show')</h4>
<p>Reveals an element's popover.</p>
<p>Reveals an element's popover. Popovers whose both title and content are zero-length are never displayed.</p>
{% highlight js %}$('#element').popover('show'){% endhighlight %}
<h4>.popover('hide')</h4>

View File

@ -207,7 +207,7 @@ $('#example').tooltip(options)
<p>Attaches a tooltip handler to an element collection.</p>
<h4>.tooltip('show')</h4>
<p>Reveals an element's tooltip.</p>
<p>Reveals an element's tooltip. Tooltips with zero-length titles are never displayed.</p>
{% highlight js %}$('#element').tooltip('show'){% endhighlight %}
<h4>.tooltip('hide')</h4>