]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/js/hovercard.js
Merge pull request #3251 from rabuzarus/20170320_-_fix_fbrowser
[friendica.git] / view / theme / frio / js / hovercard.js
index 518505c5ab55ba250b76b26963456c8a61c3470e..d9f9429164bc903da2dc62564a7fa8760dcd9fbb 100644 (file)
@@ -79,14 +79,15 @@ $(document).ready(function(){
                                                                        },
                                                                        trigger: hctrigger,
                                                                        template: '<div class="popover hovercard" data-card-created="' + timeNow + '"><div class="arrow"></div><div class="popover-content hovercard-content"></div></div>',
-                                                                       content: data
+                                                                       content: data,
+                                                                       container: "body",
                                                                }).popover('show');
                                                        }
                                                });
                                        }
                                }
                        }, 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");