From: David Nguyen Date: Thu, 2 Oct 2014 17:44:20 +0000 (-0700) Subject: Fix #12563: Reiterate that empty tooltips+popovers do not get displayed X-Git-Tag: v3.3.0~112^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F14716%2Fhead;p=thirdparty%2Fbootstrap.git Fix #12563: Reiterate that empty tooltips+popovers do not get displayed --- 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')