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

Make it work with webpack and Bootstrap 5 #330

@thomasdarde

Description

@thomasdarde

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions