Created
June 5, 2014 11:24
-
-
Save koloda/94fc07143b45acd08d17 to your computer and use it in GitHub Desktop.
bootstrap 2 hide all popovers when new activate
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
$(function(){ | |
$('a.class').popover({'title':'Title', 'content':$('#content').html(), 'html':true, 'placement':'bottom'}); | |
$('a.class').live('click', function(){ | |
$('a.class').not(this).popover('hide'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment