Show more recent notifications first in toolbar dropdown

pull/1/head
ClemDee 5 years ago
parent 287daac085
commit 4ce3678826

@ -947,7 +947,7 @@ MessengerUI, Messages) {
var openNotifsApp = h('div.cp-notifications-gotoapp', h('p', Messages.openNotificationsApp || "Open notifications App"));
$(openNotifsApp).click(function () {
Common.openURL("/notifications");
})
});
var div = h('div.cp-notifications-container', [
h('div.cp-notifications-empty', Messages.notifications_empty)
]);
@ -993,7 +993,7 @@ MessengerUI, Messages) {
Common.mailbox.subscribe(['notifications'], {
onMessage: function (data, el) {
if (el) {
div.appendChild(el);
$(div).prepend(el);
}
refresh();
},

Loading…
Cancel
Save