frio: append hovercard to body element
This commit is contained in:
parent
24a58ab2e6
commit
8a9143023d
2 changed files with 3 additions and 2 deletions
|
@ -79,7 +79,8 @@ $(document).ready(function(){
|
||||||
},
|
},
|
||||||
trigger: hctrigger,
|
trigger: hctrigger,
|
||||||
template: '<div class="popover hovercard" data-card-created="' + timeNow + '"><div class="arrow"></div><div class="popover-content hovercard-content"></div></div>',
|
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');
|
}).popover('show');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -278,7 +278,7 @@
|
||||||
<ul id="nav-notifications-template" class="media-list" style="display:none;" rel="template">
|
<ul id="nav-notifications-template" class="media-list" style="display:none;" rel="template">
|
||||||
<li class="{4} notif-entry">
|
<li class="{4} notif-entry">
|
||||||
<div class="notif-entry-wrapper media">
|
<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">
|
<a href="{0}" class="notif-desc-wrapper media-body">
|
||||||
{2}
|
{2}
|
||||||
<div><time class="notif-when time" data-toggle="tooltip" title="{5}">{3}</time></div>
|
<div><time class="notif-when time" data-toggle="tooltip" title="{5}">{3}</time></div>
|
||||||
|
|
Loading…
Reference in a new issue