| Index: chrome/browser/resources/chromeos/chromevox/common/focuser.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/common/focuser.js b/chrome/browser/resources/chromeos/chromevox/common/focuser.js
|
| index f0a29d87c4364cb220b56dad88343bb17474c6f8..dede4422716b28a399c58a4a6e834aec2913ae0e 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/common/focuser.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/common/focuser.js
|
| @@ -73,15 +73,14 @@ cvox.Focuser.setFocus = function(targetNode, opt_focusDescendants) {
|
| targetNode.focus();
|
| cvox.ChromeVoxEventSuspender.exitSuspendEvents();
|
| }, 0);
|
| - }
|
| - else {
|
| + } else {
|
| window.setTimeout(function() {
|
| - targetNode.focus();
|
| + targetNode.focus();
|
| }, 0);
|
| }
|
| }
|
| - } else if (document.activeElement &&
|
| - document.activeElement.tagName != 'BODY') {
|
| + } else if (
|
| + document.activeElement && document.activeElement.tagName != 'BODY') {
|
| document.activeElement.blur();
|
| }
|
|
|
| @@ -103,7 +102,7 @@ cvox.Focuser.setFocus = function(targetNode, opt_focusDescendants) {
|
| * @param {Node} targetNode The node that is being focused.
|
| * @return {boolean} True if enterSuspendEvents should be called.
|
| */
|
| -cvox.Focuser.shouldEnterSuspendEvents_ = function(targetNode){
|
| +cvox.Focuser.shouldEnterSuspendEvents_ = function(targetNode) {
|
| if (targetNode.constructor && targetNode.constructor == HTMLVideoElement) {
|
| return false;
|
| }
|
|
|