diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html index ab3d9fea07..110bc37158 100644 --- a/docs/_includes/js/popovers.html +++ b/docs/_includes/js/popovers.html @@ -164,7 +164,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.

@@ -211,7 +211,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 80e0ce7140..0b3ab57d0a 100644 --- a/docs/_includes/js/tooltips.html +++ b/docs/_includes/js/tooltips.html @@ -142,7 +142,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