Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2240)

Unified Diff: chrome/browser/resources/options/deletable_item_list.js

Issue 8510042: fix appearance of buttons in chrome://settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: also one breakage found in ntp Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options/deletable_item_list.js
diff --git a/chrome/browser/resources/options/deletable_item_list.js b/chrome/browser/resources/options/deletable_item_list.js
index 4d2e68edc3f1c10fb7c411a4b2caf310ba37baa5..80d4963ea7c42ad5b47bbbedc6107b2a0b8b4e75 100644
--- a/chrome/browser/resources/options/deletable_item_list.js
+++ b/chrome/browser/resources/options/deletable_item_list.js
@@ -46,8 +46,8 @@ cr.define('options', function() {
this.appendChild(this.contentElement_);
this.closeButtonElement_ = this.ownerDocument.createElement('button');
- this.closeButtonElement_.classList.add('raw-button');
- this.closeButtonElement_.classList.add('close-button');
+ this.closeButtonElement_.className =
+ 'raw-button close-button custom-appearance';
this.closeButtonElement_.addEventListener('mousedown',
this.handleMouseDownUpOnClose_);
this.closeButtonElement_.addEventListener('mouseup',
« no previous file with comments | « chrome/browser/resources/options/chromeos/accounts_user_list.js ('k') | chrome/browser/resources/options/options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698