]> git.mxchange.org Git - friendica.git/commitdiff
frio: append hovercard to body element
authorrabuzarus <>
Wed, 21 Dec 2016 15:22:20 +0000 (16:22 +0100)
committerrabuzarus <>
Wed, 21 Dec 2016 15:22:20 +0000 (16:22 +0100)
view/theme/frio/js/hovercard.js
view/theme/frio/templates/nav.tpl

index 6e2a827cd657a716e02ffde4f2b4b3e100ed615b..d9f9429164bc903da2dc62564a7fa8760dcd9fbb 100644 (file)
@@ -79,7 +79,8 @@ $(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');
                                                        }
                                                });
index 5732e121130cfbd275f7d2eb7fcd3db19d97b41d..390cf58dc4bea3312d7a20027fdaf11433658963 100644 (file)
 <ul id="nav-notifications-template" class="media-list" style="display:none;" rel="template">
        <li class="{4} notif-entry">
                <div class="notif-entry-wrapper media">
-                       <div class="notif-photo-wrapper media-object pull-left"><a href="{6}"><img data-src="{1}"></a></div>
+                       <div class="notif-photo-wrapper media-object pull-left"><a href="{6}" class="userinfo"><img data-src="{1}"></a></div>
                        <a href="{0}" class="notif-desc-wrapper media-body">
                                {2}
                                <div><time class="notif-when time" data-toggle="tooltip" title="{5}">{3}</time></div>