Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popover 'content' callback is executed twice #24664

Closed
alecpl opened this issue Nov 3, 2017 · 1 comment
Closed

Popover 'content' callback is executed twice #24664

alecpl opened this issue Nov 3, 2017 · 1 comment

Comments

@alecpl
Copy link
Contributor

alecpl commented Nov 3, 2017

Goto https://codepen.io/alecpl/pen/GOobLM, open console and see that the function is called twice when the button is clicked. It would be nice if it was called once. But make sure it's called always when you click the button, not only on a first click (initialization). I prefer that function to do some actions on content over the 'show.bs.popover'. Also, maybe the documentation should state clearly in what order these "popover configuration callbacks" are executed.

@Johann-S
Copy link
Member

Johann-S commented Nov 3, 2017

FYI if you include bootstrap.bundle.min.js they are no need to include Popper.js 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants