| 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 676429b994c7533a5426cb7ced6b98673c6cadf0..f0ce3fd64e3d45d1c638d541926907880f168bea 100644
|
| --- a/chrome/browser/resources/settings/settings_main/settings_main.js
|
| +++ b/chrome/browser/resources/settings/settings_main/settings_main.js
|
| @@ -123,7 +123,7 @@ Polymer({
|
|
|
| /** @protected */
|
| currentRouteChanged: function(newRoute) {
|
| - this.inSubpage_ = newRoute.subpage.length > 0;
|
| + this.inSubpage_ = newRoute.isSubpage();
|
| this.style.height = this.inSubpage_ ? '100%' : '';
|
|
|
| if (settings.Route.ABOUT.contains(newRoute)) {
|
| @@ -162,7 +162,7 @@ Polymer({
|
| */
|
| overscrollHeight_: function() {
|
| var route = settings.getCurrentRoute();
|
| - if (route.subpage.length != 0 || this.showPages_.about)
|
| + if (route.isSubpage() || this.showPages_.about)
|
| return 0;
|
|
|
| var query = 'settings-section[section="' + route.section + '"]';
|
|
|