frio: some hover card css fixes (enable on mouseleave again - forgot it)

This commit is contained in:
rabuzarus 2016-06-07 10:16:31 +02:00
parent d570a90c05
commit 60ca6b7f07
1 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ $(document).ready(function(){
}); });
$('body').on('mouseleave','.hovercard', function(e) { $('body').on('mouseleave','.hovercard', function(e) {
$(this).removeClass('dont-remove-card'); $(this).removeClass('dont-remove-card');
//$(this).popover("hide"); $(this).popover("hide");
}); });
}); // End of $(document).ready }); // End of $(document).ready
@ -128,7 +128,7 @@ function removeAllhoverCards(event,priorTo) {
// don't remove it if we're hovering it right now! // don't remove it if we're hovering it right now!
if(!$(this).hasClass('dont-remove-card')) { if(!$(this).hasClass('dont-remove-card')) {
$('[data-hover-card-active="' + $(this).data('card-created') + '"]').removeAttr('data-hover-card-active'); $('[data-hover-card-active="' + $(this).data('card-created') + '"]').removeAttr('data-hover-card-active');
//(this).popover("hide"); $(this).popover("hide");
} }
} }
}); });