mirror of
https://github.com/moparisthebest/mail
synced 2025-01-11 05:28:00 -05:00
only select a new message if necessary
This commit is contained in:
parent
82ee9a3ed8
commit
1714955e8e
@ -195,9 +195,11 @@ define(function(require) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!$scope.state.mailList.selected) {
|
||||||
// select first message
|
// select first message
|
||||||
$scope.select(emails[emails.length - 1]);
|
$scope.select(emails[emails.length - 1]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function getFolder() {
|
function getFolder() {
|
||||||
return $scope.state.nav.currentFolder;
|
return $scope.state.nav.currentFolder;
|
||||||
|
Loading…
Reference in New Issue
Block a user