Skip to content

Instantly share code, notes, and snippets.

@rmccawl
Created November 6, 2013 16:57
Show Gist options
  • Save rmccawl/7339814 to your computer and use it in GitHub Desktop.
Save rmccawl/7339814 to your computer and use it in GitHub Desktop.
Multiple Bootstrap Popovers, Hides the last open popover once the user opens another
$('.show-text').popover();
$('.show-text').click(function () {
$('.show-text').not(this).popover('hide');
});
@Braimo
Copy link

Braimo commented Aug 2, 2018

Thanks a lot. I was trying to do something similar... This helped a lot!

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