aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Déramond <[email protected]>2023-10-12 09:31:14 +0200
committerGitHub <[email protected]>2023-10-12 09:31:14 +0200
commit790dc807533c7c62ef19e50d80d8d0fa8d275c8e (patch)
treeabb2a49dc06bfe17a65b75e8c0cfd48fbd343169
parent7cdfa426088fddf8be61e18f9bb4f541456ff51b (diff)
downloadbootstrap-790dc807533c7c62ef19e50d80d8d0fa8d275c8e.tar.xz
bootstrap-790dc807533c7c62ef19e50d80d8d0fa8d275c8e.zip
Fix `getOrCreateInstance()` doc example (#39281)
-rw-r--r--site/content/docs/5.3/components/popovers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/5.3/components/popovers.md b/site/content/docs/5.3/components/popovers.md
index 685d2c3c6..f4697a771 100644
--- a/site/content/docs/5.3/components/popovers.md
+++ b/site/content/docs/5.3/components/popovers.md
@@ -249,7 +249,7 @@ const popover = new bootstrap.Popover(element, {
const popover = bootstrap.Popover.getOrCreateInstance('#example') // Returns a Bootstrap popover instance
// setContent example
-myPopover.setContent({
+popover.setContent({
'.popover-header': 'another title',
'.popover-body': 'another content'
})