| Index: chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js b/chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js
|
| index d0d0f2fbef57b462967f4af07a4242a7a7b89b9e..649478fe473addeca9c2c8858f7c39fca8d34536 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js
|
| @@ -211,8 +211,9 @@ cvox.TabsApiHandler.prototype = {
|
| */
|
| focusTab_: function(id) {
|
| chrome.automation.getTree(id, function(tab) {
|
| + if (tab.state.focused)
|
| + ChromeVoxState.instance.setCurrentRange(cursors.Range.fromNode(tab));
|
| global.backgroundObj.refreshMode(tab.docUrl);
|
| - global.backgroundObj.currentRange = cursors.Range.fromNode(tab);
|
| });
|
| },
|
|
|
|
|