Skip to content

Commit

Permalink
Fix getOrCreateInstance() doc example (#39281)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored Oct 12, 2023
1 parent 7cdfa42 commit 790dc80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/5.3/components/popovers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
})
Expand Down

0 comments on commit 790dc80

Please sign in to comment.