Commit 64a74e93 authored by Chris Rebert's avatar Chris Rebert

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

Fix #12563: Elaborate that popover('show') checks title/content
parents 33afb8a3 6fa74953
...@@ -246,7 +246,7 @@ sagittis lacus vel augue laoreet rutrum faucibus."> ...@@ -246,7 +246,7 @@ sagittis lacus vel augue laoreet rutrum faucibus.">
<p>Initializes popovers for an element collection.</p> <p>Initializes popovers for an element collection.</p>
<h4>.popover('show')</h4> <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 %} {% highlight js %}$('#element').popover('show'){% endhighlight %}
<h4>.popover('hide')</h4> <h4>.popover('hide')</h4>
......
...@@ -207,7 +207,7 @@ $('#example').tooltip(options) ...@@ -207,7 +207,7 @@ $('#example').tooltip(options)
<p>Attaches a tooltip handler to an element collection.</p> <p>Attaches a tooltip handler to an element collection.</p>
<h4>.tooltip('show')</h4> <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 %} {% highlight js %}$('#element').tooltip('show'){% endhighlight %}
<h4>.tooltip('hide')</h4> <h4>.tooltip('hide')</h4>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment