Merge pull request #14716 from blankmaker/docs/fix-12563

Fix #12563: Elaborate that popover('show') checks title/content
This commit is contained in:
Chris Rebert 2014-10-02 10:48:36 -07:00
commit 64a74e9354
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>