Chromium Code Reviews| Index: chrome/browser/resources/options/chromeos_accounts_user_list.js |
| diff --git a/chrome/browser/resources/options/chromeos_accounts_user_list.js b/chrome/browser/resources/options/chromeos_accounts_user_list.js |
| index 36f565fa12ee23af0e257cfcd09454af4dae795b..cdcab4e6b04c241a451c5ae0c5ad3b0539af6920 100644 |
| --- a/chrome/browser/resources/options/chromeos_accounts_user_list.js |
| +++ b/chrome/browser/resources/options/chromeos_accounts_user_list.js |
| @@ -173,13 +173,17 @@ cr.define('options.accounts', function() { |
| localStrings.getStringF('username_format', this.user.name) : |
| this.user.name; |
| + var emailNameBlock = this.ownerDocument.createElement('div'); |
| + emailNameBlock.className = 'user-email-name-block'; |
| + emailNameBlock.appendChild(labelEmail); |
| + emailNameBlock.appendChild(labelName); |
| + |
| this.appendChild(icon); |
| - this.appendChild(labelEmail); |
| - this.appendChild(labelName); |
| + this.appendChild(emailNameBlock); |
| if (!this.user.owner) { |
| var removeButton = this.ownerDocument.createElement('button'); |
| - removeButton.className = 'remove-user-button'; |
| + removeButton.className = 'raw-button remove-user-button'; |
|
James Hawkins
2011/01/25 23:10:33
nit: Please use two classList.add(X) instead.
xiyuan
2011/01/25 23:27:29
Done.
|
| this.appendChild(removeButton); |
| } |
| } |