| Index: chrome/browser/resources/settings/settings_main/settings_main.js
|
| diff --git a/chrome/browser/resources/settings/settings_main/settings_main.js b/chrome/browser/resources/settings/settings_main/settings_main.js
|
| index d9c65784fda9f8a9bd4079fcc57ebc866a2c3572..6aa8c1113f14754117d1c1a2bfb7fba3bd9b450b 100644
|
| --- a/chrome/browser/resources/settings/settings_main/settings_main.js
|
| +++ b/chrome/browser/resources/settings/settings_main/settings_main.js
|
| @@ -151,7 +151,7 @@ Polymer({
|
| if (!topSection && this.showPages_.advanced)
|
| topSection = this.$$('settings-advanced-page').$$(query);
|
|
|
| - if (!topSection)
|
| + if (!topSection || !topSection.offsetParent)
|
| return 0;
|
|
|
| // Offset to the selected section (relative to the scrolling window).
|
|
|