| Index: chrome/browser/resources/settings/settings_page/main_page_behavior.js
|
| diff --git a/chrome/browser/resources/settings/settings_page/main_page_behavior.js b/chrome/browser/resources/settings/settings_page/main_page_behavior.js
|
| index 9250fd23b90cb69d34ea3dc2db0cdc564a234061..6983546cefafa7429188c946682390539963ffc3 100644
|
| --- a/chrome/browser/resources/settings/settings_page/main_page_behavior.js
|
| +++ b/chrome/browser/resources/settings/settings_page/main_page_behavior.js
|
| @@ -80,9 +80,10 @@ var MainPageBehaviorImpl = {
|
|
|
| // Scroll to the section except for back/forward. Also scroll for any
|
| // in-page back/forward navigations (from a section or the root page).
|
| - var scrollToSection =
|
| - !settings.lastRouteChangeWasPopstate() || oldRouteWasSection ||
|
| - oldRoute == settings.Route.BASIC;
|
| + // Also always scroll when coming from either the About or root page.
|
| + var scrollToSection = !settings.lastRouteChangeWasPopstate() ||
|
| + oldRouteWasSection || oldRoute == settings.Route.BASIC ||
|
| + oldRoute == settings.Route.ABOUT;
|
|
|
| if (oldRoute && (oldRoute.isSubpage() || newRoute.isSubpage()))
|
| this.isSubpageAnimating = true;
|
|
|