]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix #12563: Reiterate that empty tooltips+popovers do not get displayed 14716/head
authorDavid Nguyen <davidnguyen84@gmail.com>
Thu, 2 Oct 2014 17:44:20 +0000 (10:44 -0700)
committerDavid Nguyen <davidnguyen84@gmail.com>
Thu, 2 Oct 2014 17:44:20 +0000 (10:44 -0700)
docs/_includes/js/popovers.html
docs/_includes/js/tooltips.html

index 1d76127acb2563625b47594504f80c3543444c73..35f7bb170ad17f216905654cf19b3be0124e78d2 100644 (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>
index 2165dddc7b581ff92b19f35ca529be1439a77c2a..3ec076b70bfcd29630b237bb6d68911d728f098a 100644 (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>