Index: chrome/browser/resources/extensions/focus_row.js |
diff --git a/chrome/browser/resources/extensions/focus_row.js b/chrome/browser/resources/extensions/focus_row.js |
index 6022f3993d9d944bbd9c1210b4703f162145f071..2343422125740a3092cd3910614ab9929db8643e 100644 |
--- a/chrome/browser/resources/extensions/focus_row.js |
+++ b/chrome/browser/resources/extensions/focus_row.js |
@@ -21,7 +21,8 @@ cr.define('extensions', function() { |
cr.ui.FocusRow.prototype.makeActive.call(this, active); |
// Only highlight if the row has focus. |
- this.root.classList.toggle('extension-highlight', |
+ this.root.classList.toggle( |
+ 'extension-highlight', |
active && this.root.contains(document.activeElement)); |
}, |
}; |