diff options
| author | Julien Déramond <[email protected]> | 2023-10-12 09:31:14 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-12 09:31:14 +0200 |
| commit | 790dc807533c7c62ef19e50d80d8d0fa8d275c8e (patch) | |
| tree | abb2a49dc06bfe17a65b75e8c0cfd48fbd343169 /site | |
| parent | 7cdfa426088fddf8be61e18f9bb4f541456ff51b (diff) | |
| download | bootstrap-790dc807533c7c62ef19e50d80d8d0fa8d275c8e.tar.xz bootstrap-790dc807533c7c62ef19e50d80d8d0fa8d275c8e.zip | |
Fix `getOrCreateInstance()` doc example (#39281)
Diffstat (limited to 'site')
| -rw-r--r-- | site/content/docs/5.3/components/popovers.md | 2 |
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' }) |
