aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2012-01-23 09:23:37 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2012-01-23 09:23:37 +0100
commit9047840ec2a124f8bf9c9263c42579e78a9f6516 (patch)
tree12a0dae256c656434b1f93d61d48f3533970a5bf /js
parent11aa83742e7926c97b6e1528209a011390fa3115 (diff)
downloadvolse-hubzilla-9047840ec2a124f8bf9c9263c42579e78a9f6516.tar.gz
volse-hubzilla-9047840ec2a124f8bf9c9263c42579e78a9f6516.tar.bz2
volse-hubzilla-9047840ec2a124f8bf9c9263c42579e78a9f6516.zip
nav: fix "See all notifications"
Diffstat (limited to 'js')
-rwxr-xr-xjs/main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/main.js b/js/main.js
index a156dbadd..4cb278ee8 100755
--- a/js/main.js
+++ b/js/main.js
@@ -88,6 +88,7 @@
/* notifications template */
var notifications_tpl= unescape($("#nav-notifications-template[rel=template]").html());
+ var notifications_all = unescape($('<div>').append( $("#nav-notifications-see-all").clone() ).html()); //outerHtml hack
var notifications_empty = unescape($("#nav-notifications-menu").html());
/* nav update event */
@@ -116,7 +117,7 @@
$("#nav-notifications-linkmenu").addClass("on");
nnm = $("#nav-notifications-menu");
- nnm.html("<li><a href='"+baseurl+"/notifications/network'>Show All Notifications</a></li>");
+ nnm.html(notifications_all);
//nnm.attr('popup','true');
eNotif.children("note").each(function(){