mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 10:07:02 +00:00
@@ -56,7 +56,7 @@ function loadList() {
|
||||
dataType: "json",
|
||||
url: '/api/v1/mailbox/' + mailbox,
|
||||
success: function(data) {
|
||||
messageListData = data;
|
||||
messageListData = data.reverse();
|
||||
// Render list
|
||||
$('#message-list').loadTemplate($('#list-entry-template'), data);
|
||||
$('.message-list-entry').click(onMessageListClick);
|
||||
|
||||
@@ -30,7 +30,7 @@ function startMonitor(mailbox) {
|
||||
$('#monitor-message-list').loadTemplate(
|
||||
$('#message-template'),
|
||||
msg,
|
||||
{ append: true });
|
||||
{ prepend: true });
|
||||
});
|
||||
ws.addEventListener('close', function (e) {
|
||||
$('#conn-status').text('Disconnected!');
|
||||
|
||||
Reference in New Issue
Block a user