This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
|-------------------------------------------------------------------------- | |
| Bootstrap 4 - Close Popover When Losing Focus | |
|-------------------------------------------------------------------------- | |
| | |
| A JavaScript snippet that closes a Bootstrap 4 popover when clicking off | |
| of it, but unlike the default behaviour, allows it to stay open when | |
| clicking within the popover itself. | |
*/ |