From 361f452ed42d04c565de41ffca018fff5b35295c Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Wed, 26 Mar 2014 12:49:15 -0700 Subject: [PATCH] doc that popover content() is given the element as an arg; fix #13175 --- docs/_includes/js/popovers.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html index 739d86bce7..95868af1a4 100644 --- a/docs/_includes/js/popovers.html +++ b/docs/_includes/js/popovers.html @@ -193,7 +193,10 @@ $('.popover-dismiss').popover({ content string | function '' - Default content value if data-content attribute isn't present + +

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.

+ delay