mirror of
https://github.com/moparisthebest/mail
synced 2024-11-29 20:32:15 -05:00
changed order of listed items
This commit is contained in:
parent
88b7252696
commit
cb52217529
@ -1,5 +1,5 @@
|
|||||||
define(['jquery', 'underscore', 'backbone', 'js/app-config',
|
define(['jquery', 'underscore', 'backbone', 'js/app-config',
|
||||||
'js/view/messagelistitem-view'
|
'js/view/messagelistitem-view'
|
||||||
], function($, _, Backbone, app, MessageListItemView) {
|
], function($, _, Backbone, app, MessageListItemView) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
@ -87,7 +87,7 @@ define(['jquery', 'underscore', 'backbone', 'js/app-config',
|
|||||||
list.html('');
|
list.html('');
|
||||||
|
|
||||||
// append items to list in reverse order so mails with the most recent date will be displayed first
|
// append items to list in reverse order so mails with the most recent date will be displayed first
|
||||||
for (i = emails.length - 1; i >= 0; i--) {
|
for (i = 0; i < emails.length; i++) {
|
||||||
email = emails[i];
|
email = emails[i];
|
||||||
listItemArgs = {
|
listItemArgs = {
|
||||||
account: self.options.account,
|
account: self.options.account,
|
||||||
|
Loading…
Reference in New Issue
Block a user