frio: fix close hovercard on mousleave

This commit is contained in:
rabuzarus 2016-06-07 01:42:01 +02:00
parent 33ad8bdc53
commit d752ea9abc

View file

@ -86,7 +86,7 @@ $(document).ready(function(){
}
}
}, 500);
}).on("mouseleave", ".userinfo", function(e) { // action when mouse leaves the hover-card
}).on("mouseleave", ".userinfo, .wall-item-responses a, .wall-item-bottom .mention a", function(e) { // action when mouse leaves the hover-card
var timeNow = new Date().getTime();
// copy the original title to the title atribute
var title = $(this).attr("data-orig-title");