1
0
mirror of https://github.com/moparisthebest/mail synced 2024-12-23 07:48:48 -05:00

only select a new message if necessary

This commit is contained in:
Felix Hammerl 2013-12-04 17:13:24 +01:00
parent 82ee9a3ed8
commit 1714955e8e

View File

@ -195,8 +195,10 @@ define(function(require) {
return;
}
// select first message
$scope.select(emails[emails.length - 1]);
if (!$scope.state.mailList.selected) {
// select first message
$scope.select(emails[emails.length - 1]);
}
}
function getFolder() {