]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/js/hovercard.js
frio: some css work for help docs
[friendica.git] / view / theme / frio / js / hovercard.js
index 10ce29b64511c69c446bfc3b777078421e5b2f18..6e2a827cd657a716e02ffde4f2b4b3e100ed615b 100644 (file)
@@ -11,7 +11,7 @@ $(document).ready(function(){
        // Elements with the class "userinfo" will get a hover-card.
        // Note that this elements does need a href attribute which links to
        // 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();
                        removeAllhoverCards(e,timeNow);
                        var hoverCardData = false;
@@ -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");