diff options
Diffstat (limited to 'web-ui/app/js')
-rw-r--r-- | web-ui/app/js/mail_view/ui/recipients/recipient.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web-ui/app/js/mail_view/ui/recipients/recipient.js b/web-ui/app/js/mail_view/ui/recipients/recipient.js index 603447d6..f8909fe1 100644 --- a/web-ui/app/js/mail_view/ui/recipients/recipient.js +++ b/web-ui/app/js/mail_view/ui/recipients/recipient.js @@ -53,11 +53,11 @@ define( this.$node.addClass('discorver-encryption'); var p = $.getJSON('/keys?search=' + this.attr.address).promise(); p.done(function () { - this.$node.addClass('encrypted'); + this.$node.find('.recipient-value').addClass('encrypted'); this.$node.removeClass('discorver-encryption'); }.bind(this)); - p.fail(function () { - this.$node.addClass('not-encrypted'); + p.fail(function () { + this.$node.find('.recipient-value').addClass('not-encrypted'); this.$node.removeClass('discorver-encryption'); }.bind(this)); }; |