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 8fdf5f7e6e61f2e949d67e6f8acaa3df9fce936d..0169669f16e88ffe17850d5703f8a4599a83cfcd 100644 |
--- a/chrome/browser/resources/settings/settings_page/main_page_behavior.js |
+++ b/chrome/browser/resources/settings/settings_page/main_page_behavior.js |
@@ -116,6 +116,10 @@ var MainPageBehaviorImpl = { |
promise = this.expandSection_(currentSection); |
else if (scrollToSection) |
currentSection.scrollIntoView(); |
+ } else if (settings.Route.ADVANCED.contains(currentRoute)) { |
+ promise = new Promise(function(resolve) { |
+ this.$$('#advancedPageTemplate').get().then(resolve); |
+ }.bind(this)); |
Dan Beam
2017/03/17 00:30:05
does this work
promise = this.$$('#advancedPageTe
dpapad
2017/03/17 20:53:55
It does. Done.
|
} |
// When this animation ends, another may be necessary. Call this function |