| 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 cb8a708e5748a2321cd63a71633d30648b595258..f931e6f0d5ada17b21a893cb1242ba9c06c49eea 100644
|
| --- a/chrome/browser/resources/settings/settings_main/settings_main.js
|
| +++ b/chrome/browser/resources/settings/settings_main/settings_main.js
|
| @@ -103,6 +103,7 @@ Polymer({
|
| overscrollChanged_: function() {
|
| if (!this.overscroll_ && this.boundScroll_) {
|
| this.offsetParent.removeEventListener('scroll', this.boundScroll_);
|
| + window.removeEventListener('resize', this.boundScroll_);
|
| this.boundScroll_ = null;
|
| } else if (this.overscroll_ && !this.boundScroll_) {
|
| this.boundScroll_ = function() {
|
| @@ -110,6 +111,7 @@ Polymer({
|
| this.setOverscroll_(0);
|
| }.bind(this);
|
| this.offsetParent.addEventListener('scroll', this.boundScroll_);
|
| + window.addEventListener('resize', this.boundScroll_);
|
| }
|
| },
|
|
|
|
|