Commit bda0d49e authored by dschuyler's avatar dschuyler Committed by Commit bot

[MD settings] do not scroll when toggling advanced menu

This CL removes the code that will scroll to the advanced content area
when toggling the advanced menu in the side nav.

BUG=613708
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2127723003
Cr-Commit-Position: refs/heads/master@{#406667}
parent 7706c0bd
...@@ -89,16 +89,6 @@ Polymer({ ...@@ -89,16 +89,6 @@ Polymer({
section: '', section: '',
subpage: [], subpage: [],
}; };
if (this.showAdvancedPage_) {
doWhenReady(
function() {
var advancedPage = this.$$('settings-advanced-page');
return !!advancedPage && advancedPage.scrollHeight > 0;
}.bind(this),
function() {
this.$$('#toggleContainer').scrollIntoView();
}.bind(this));
}
}.bind(this)); }.bind(this));
doWhenReady( doWhenReady(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment