mirror of
https://github.com/Polymer/polymer.git
synced 2025-02-25 18:55:30 -06:00
Correct use of document.contains to document.documentElement.contains on IE.
This commit is contained in:
parent
b9e5cce27f
commit
0e74810862
@ -188,7 +188,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
// can be cached while an element is inside a fragment.
|
||||
// If this happens and we cache the result, the value can become stale
|
||||
// because for perf we avoid processing the subtree of added fragments.
|
||||
if (root || document.contains(node)) {
|
||||
if (root || document.documentElement.contains(node)) {
|
||||
node._ownerShadyRoot = root;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user