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

frio: extend hover card to wall-item-responses (likes, attendend) and …
This commit is contained in:
Tobias Diekershoff 2016-06-06 18:29:34 +02:00
commit 9d3ca5a463

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;