1
0
Fork 0

frio: extend hovercard to wall-item-responses (likes, attendend) and wall-item-bottom mentions

This commit is contained in:
rabuzarus 2016-06-06 11:05:29 +02:00
parent ec89274cd8
commit 33ad8bdc53

View file

@ -11,7 +11,7 @@ $(document).ready(function(){
// Elements with the class "userinfo" will get a hover-card. // Elements with the class "userinfo" will get a hover-card.
// Note that this elements does need a href attribute which links to // Note that this elements does need a href attribute which links to
// a valid profile url // a valid profile url
$("body").on("mouseover", ".userinfo", function(e) { $("body").on("mouseover", ".userinfo, .wall-item-responses a, .wall-item-bottom .mention a", function(e) {
var timeNow = new Date().getTime(); var timeNow = new Date().getTime();
removeAllhoverCards(e,timeNow); removeAllhoverCards(e,timeNow);
var hoverCardData = false; var hoverCardData = false;