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

Unified Diff: chrome/browser/resources/settings/site_settings/site_list.js

Issue 2842303004: MD Settings: update dialogs to focus without ink when using mouse (Closed)
Patch Set: you wanted this... Created 3 years, 8 months 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/settings/site_settings/site_list.js
diff --git a/chrome/browser/resources/settings/site_settings/site_list.js b/chrome/browser/resources/settings/site_settings/site_list.js
index 7c17e9de5607855ca2dbe4a47276a80c064ff37a..c9e7b60e1aed9a7fe4deb58f5a76cb89da579e4d 100644
--- a/chrome/browser/resources/settings/site_settings/site_list.js
+++ b/chrome/browser/resources/settings/site_settings/site_list.js
@@ -221,7 +221,7 @@ Polymer({
dialog.open(this.categorySubtype);
dialog.addEventListener('close', function() {
- this.$.addSite.focus();
+ cr.ui.focusWithoutInk(assert(this.$.addSite));
dialog.remove();
}.bind(this));
},

Powered by Google App Engine
This is Rietveld 408576698