| Index: chrome/browser/resources/options/options_page.js
|
| diff --git a/chrome/browser/resources/options/options_page.js b/chrome/browser/resources/options/options_page.js
|
| index af081c7e1d1d2bb9b13742f335a1ccc99e8fc33b..fd1a4e4d4674c48c0a2b0819ec4782a2eabc8060 100644
|
| --- a/chrome/browser/resources/options/options_page.js
|
| +++ b/chrome/browser/resources/options/options_page.js
|
| @@ -759,6 +759,10 @@ cr.define('options', function() {
|
| * strategy.
|
| */
|
| focus: function() {
|
| + // Do not change focus if any control on this page is already focused.
|
| + if (this.pageDiv.contains(document.activeElement))
|
| + return;
|
| +
|
| var elements = this.pageDiv.querySelectorAll(
|
| 'input, list, select, textarea, button');
|
| for (var i = 0; i < elements.length; i++) {
|
|
|