Skip to content

Commit

Permalink
Fix popover live demo to use data-bs-title instead of title (#36613)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Jun 21, 2022
1 parent cfabeb7 commit a877c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/5.2/components/popovers.md
Expand Up @@ -51,7 +51,7 @@ We use JavaScript similar to the snippet above to render the following live popo
{{< /callout >}}

{{< example stackblitz_add_js="true" >}}
<button type="button" class="btn btn-lg btn-danger" data-bs-toggle="popover" title="Popover title" data-bs-content="And here's some amazing content. It's very engaging. Right?">Click to toggle popover</button>
<button type="button" class="btn btn-lg btn-danger" data-bs-toggle="popover" data-bs-title="Popover title" data-bs-content="And here's some amazing content. It's very engaging. Right?">Click to toggle popover</button>
{{< /example >}}

### Four directions
Expand Down

0 comments on commit a877c5d

Please sign in to comment.