1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-29 20:32:15 -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() { $scope.$watch('state.mailList.selected', function(mail) {
var mail = $scope.state.mailList.selected;
if (!mail) { if (!mail) {
return; return;
} }