1
1
Fork 0

Merge pull request #2572 from rabuzarus/0606-more-hovercard

frio: fix close hovercard on mousleave
This commit is contained in:
Michael Vogel 2016-06-07 06:10:46 +02:00
commit bd01a1c63a

View file

@ -86,7 +86,7 @@ $(document).ready(function(){
} }
} }
}, 500); }, 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(); var timeNow = new Date().getTime();
// copy the original title to the title atribute // copy the original title to the title atribute
var title = $(this).attr("data-orig-title"); var title = $(this).attr("data-orig-title");