Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Make it work with webpack and Bootstrap 5 #330

Open
thomasdarde opened this issue Jun 18, 2021 · 0 comments
Open

Make it work with webpack and Bootstrap 5 #330

thomasdarde opened this issue Jun 18, 2021 · 0 comments

Comments

@thomasdarde
Copy link

Could this code :
var useGetInstance = window.bootstrap && window.bootstrap.Popover && window.bootstrap.Popover.getInstance
be changed by
var useGetInstance = window.Popover && window.Popover.getInstance || window.bootstrap && window.bootstrap.Popover && window.bootstrap.Popover.getInstance

And this.popoverTarget.popover be changed .

Today the plugin is compatible with bootsrtrap 5 only by including all bootstrap 5 in the code

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

No branches or pull requests

1 participant