| 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 600499e704e72bcd590b9649e15e087b4fd2290b..268f2af25fbcb40373d0105c89ce11871ba7b40b 100644
|
| --- a/chrome/browser/resources/settings/settings_page/main_page_behavior.js
|
| +++ b/chrome/browser/resources/settings/settings_page/main_page_behavior.js
|
| @@ -144,7 +144,9 @@ var MainPageBehaviorImpl = {
|
| promise = this.expandSection_(currentSection);
|
| else if (scrollToSection)
|
| currentSection.scrollIntoView();
|
| - } else if (settings.Route.ADVANCED.contains(currentRoute) &&
|
| + } else if (
|
| + this.tagName == 'SETTINGS-BASIC-PAGE' &&
|
| + settings.Route.ADVANCED.contains(currentRoute) &&
|
| // Need to exclude routes that correspond to 'non-sectioned' children of
|
| // ADVANCED, otherwise tryTransitionToSection_ will recurse endlessly.
|
| !currentRoute.isNavigableDialog) {
|
|
|