From 6fa74953333dab483e1e8452c3d256e04ed3436b Mon Sep 17 00:00:00 2001 From: David Nguyen Date: Thu, 2 Oct 2014 10:44:20 -0700 Subject: [PATCH] Fix #12563: Reiterate that empty tooltips+popovers do not get displayed --- docs/_includes/js/popovers.html | 2 +- docs/_includes/js/tooltips.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html index 1d76127acb..35f7bb170a 100644 --- a/docs/_includes/js/popovers.html +++ b/docs/_includes/js/popovers.html @@ -246,7 +246,7 @@ sagittis lacus vel augue laoreet rutrum faucibus.">

Initializes popovers for an element collection.

.popover('show')

-

Reveals an element's popover.

+

Reveals an element's popover. Popovers whose both title and content are zero-length are never displayed.

{% highlight js %}$('#element').popover('show'){% endhighlight %}

.popover('hide')

diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html index 2165dddc7b..3ec076b70b 100644 --- a/docs/_includes/js/tooltips.html +++ b/docs/_includes/js/tooltips.html @@ -207,7 +207,7 @@ $('#example').tooltip(options)

Attaches a tooltip handler to an element collection.

.tooltip('show')

-

Reveals an element's tooltip.

+

Reveals an element's tooltip. Tooltips with zero-length titles are never displayed.

{% highlight js %}$('#element').tooltip('show'){% endhighlight %}

.tooltip('hide')