From e5cd25e3284b4901d9b61171acf8f03138709f26 Mon Sep 17 00:00:00 2001 From: Reinaldo de Souza Jr Date: Wed, 11 Nov 2015 14:25:04 -0200 Subject: Align second line of email addresses to the beginning of the first line Fixes #514 --- web-ui/app/js/mail_view/ui/recipients/recipients.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'web-ui/app/js') diff --git a/web-ui/app/js/mail_view/ui/recipients/recipients.js b/web-ui/app/js/mail_view/ui/recipients/recipients.js index 3d756bd5..2caa8d14 100644 --- a/web-ui/app/js/mail_view/ui/recipients/recipients.js +++ b/web-ui/app/js/mail_view/ui/recipients/recipients.js @@ -32,7 +32,8 @@ define( function recipients() { this.defaultAttrs({ - navigationHandler: '.recipients-navigation-handler' + navigationHandler: '.recipients-navigation-handler', + recipientsList: '.recipients-list' }); function getAddresses(recipients) { @@ -85,7 +86,7 @@ define( }; this.addRecipient = function(recipient) { - var newRecipient = Recipient.prototype.renderAndPrepend(this.$node, recipient); + var newRecipient = Recipient.prototype.renderAndPrepend(this.$node.find(this.attr.recipientsList), recipient); this.attr.recipients.push(newRecipient); }; -- cgit v1.2.3