From 361f452ed42d04c565de41ffca018fff5b35295c Mon Sep 17 00:00:00 2001
From: Chris Rebert <code@rebertia.com>
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({
           <td>content</td>
           <td>string | function</td>
           <td>''</td>
-          <td>Default content value if <code>data-content</code> attribute isn't present</td>
+          <td>
+            <p>Default content value if <code>data-content</code> attribute isn't present.</p>
+            <p>If a function is given, it will be called with 1 argument, which is the element that the popover is attached to.</p>
+          </td>
         </tr>
         <tr>
           <td>delay</td>
-- 
GitLab