Index: chrome/browser/resources/options/autofill_options_list.js |
diff --git a/chrome/browser/resources/options/autofill_options_list.js b/chrome/browser/resources/options/autofill_options_list.js |
index 2e16a8f15ae09cd4e586ede77b192f0e7ea26478..c36c98a4df0a94d89c5e5bbc9c8f52961b3e1c5b 100644 |
--- a/chrome/browser/resources/options/autofill_options_list.js |
+++ b/chrome/browser/resources/options/autofill_options_list.js |
@@ -15,9 +15,11 @@ cr.define('options.autofillOptions', function() { |
loadTimeData.getString('autofillEditProfileButton'); |
editButtonEl.onclick = function(e) { edit(guid); }; |
- // Don't select the row when clicking the button. |
editButtonEl.onmousedown = function(e) { |
+ // Don't select the row when clicking the button. |
e.stopPropagation(); |
+ // Don't focus on the button when clicking it. |
+ e.preventDefault(); |
}; |
return editButtonEl; |