From cb52217529e0c9828695cc43c4c094842be88f89 Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Thu, 22 Aug 2013 12:15:02 +0200 Subject: [PATCH] changed order of listed items --- src/js/view/messagelist-view.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/view/messagelist-view.js b/src/js/view/messagelist-view.js index 12c2ea3..d0766cb 100644 --- a/src/js/view/messagelist-view.js +++ b/src/js/view/messagelist-view.js @@ -1,5 +1,5 @@ define(['jquery', 'underscore', 'backbone', 'js/app-config', - 'js/view/messagelistitem-view' + 'js/view/messagelistitem-view' ], function($, _, Backbone, app, MessageListItemView) { 'use strict'; @@ -87,7 +87,7 @@ define(['jquery', 'underscore', 'backbone', 'js/app-config', list.html(''); // 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]; listItemArgs = { account: self.options.account,