Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Rewrote without shadowDom traversal
Browse files Browse the repository at this point in the history
  • Loading branch information
atotic committed Dec 19, 2014
1 parent 1c5a0f1 commit 6659bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elements/core-doc-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ <h3 id="{{data.name}}.methods">Methods</h3>
elementToFocus.scrollIntoView();
}
else {
var viewer = this.shadowRoot.querySelector('core-header-panel').shadowRoot.querySelector('#mainContainer');
var viewer = this.$.panel.scroller;
viewer.scrollTop = 0;
viewer.scrollLeft = 0;
}
Expand Down

0 comments on commit 6659bd7

Please sign in to comment.