| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js
|
| index a8ab1644f36f0978390946115d3dd7f7efd11264..1aa51c54d0e125b74edca305926c1619d50a5c63 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/panel.js
|
| @@ -130,6 +130,7 @@ Panel.init = function() {
|
|
|
| document.addEventListener('keydown', Panel.onKeyDown, false);
|
| document.addEventListener('mouseup', Panel.onMouseUp, false);
|
| + window.addEventListener('blur', Panel.closeMenusAndRestoreFocus, false);
|
|
|
| Panel.searchInput_.addEventListener('blur', Panel.onSearchInputBlur, false);
|
| };
|
| @@ -253,7 +254,7 @@ Panel.setMode = function(mode) {
|
| // host code to make the window fullscreen and give it focus.
|
| window.location = '#fullscreen';
|
| } else if (this.mode_ == Panel.Mode.FOCUSED) {
|
| - // // Change the url fragment to 'focus', which signals the native
|
| + // Change the url fragment to 'focus', which signals the native
|
| // host code to give the window focus.
|
| window.location = '#focus';
|
| } else {
|
| @@ -790,7 +791,7 @@ Panel.onTutorial = function() {
|
| // host code to make the window fullscreen, revealing the menus.
|
| Panel.setMode(Panel.Mode.FULLSCREEN_TUTORIAL);
|
|
|
| - Panel.tutorial_.firstPage();
|
| + Panel.tutorial_.lastViewedPage();
|
| };
|
|
|
| /**
|
|
|