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

Commit

Permalink
/deep/ selector not in shadowDom, traverse instead
Browse files Browse the repository at this point in the history
  • Loading branch information
atotic committed Dec 19, 2014
1 parent a619e1f commit df06ae5
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 /deep/ #mainContainer');
var viewer = this..shadowRoot.querySelector('core-header-panel').shadowRoot.querySelector('#mainContainer');
viewer.scrollTop = 0;
viewer.scrollLeft = 0;
}
Expand Down

0 comments on commit df06ae5

Please sign in to comment.