1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-26 10:52:17 -05:00

fix watch of selected mail in reader

This commit is contained in:
Tankred Hase 2014-02-23 23:20:47 +01:00
parent 1e9e6a2b21
commit e3e7962b3e

View File

@ -50,8 +50,7 @@ define(function(require) {
});
};
$scope.$watch('state.mailList.selected', function() {
var mail = $scope.state.mailList.selected;
$scope.$watch('state.mailList.selected', function(mail) {
if (!mail) {
return;
}