Index: chrome/browser/resources/options/cookies_list.js |
diff --git a/chrome/browser/resources/options/cookies_list.js b/chrome/browser/resources/options/cookies_list.js |
index 0d7d5f480d4c98edf08b76b26ebdd55afa316af4..29159c4f1a969262787a511283f52e545d0d0dc7 100644 |
--- a/chrome/browser/resources/options/cookies_list.js |
+++ b/chrome/browser/resources/options/cookies_list.js |
@@ -173,12 +173,12 @@ cr.define('options', function() { |
return; |
this.expanded_ = expanded; |
if (expanded) { |
+ this.classList.add('show-items'); |
var oldExpanded = this.list.expandedItem; |
this.list.expandedItem = this; |
this.updateItems_(); |
if (oldExpanded) |
oldExpanded.expanded = false; |
- this.classList.add('show-items'); |
} else { |
if (this.list.expandedItem == this) { |
this.list.expandedItem = null; |
@@ -535,7 +535,6 @@ cr.define('options', function() { |
div.className = 'cookie-item'; |
// Help out screen readers and such: this is a clickable thing. |
div.setAttribute('role', 'button'); |
- div.tabIndex = 0; |
div.textContent = text; |
var apps = this.data.appsProtectingThis; |
if (apps) |