Skip to content

Instantly share code, notes, and snippets.



Created Apr 24, 2015
What would you like to do?
jQuery - Close tooltip with a click apart from tooltip wrapper.
$(document).click(function(e) {
if( !$('.tooltip-wrapper').length ) {
if( $('.tooltip').hasClass('active') ) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.