diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html index 4ab7253b17..792ea21767 100644 --- a/docs/_includes/js/popovers.html +++ b/docs/_includes/js/popovers.html @@ -163,7 +163,7 @@ sagittis lacus vel augue laoreet rutrum faucibus."> ''

Default content value if data-content attribute isn't present.

-

If a function is given, it will be called with 1 argument, which is the element that the popover is attached to.

+

If a function is given, it will be called with its this reference set to the element that the popover is attached to.

@@ -210,7 +210,10 @@ sagittis lacus vel augue laoreet rutrum faucibus."> title string | function '' - Default title value if title attribute isn't present + +

Default title value if title attribute isn't present.

+

If a function is given, it will be called with its this reference set to the element that the popover is attached to.

+ trigger diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html index 33743c4c21..9e6c0b8e0e 100644 --- a/docs/_includes/js/tooltips.html +++ b/docs/_includes/js/tooltips.html @@ -141,7 +141,10 @@ $('#example').tooltip(options) title string | function '' - Default title value if title attribute isn't present + +

Default title value if title attribute isn't present.

+

If a function is given, it will be called with its this reference set to the element that the tooltip is attached to.

+ trigger