Skip to content

Commit 465aef4

Browse files
fix getFullTransformMatrix in shadow DOM
1 parent 3764395 commit 465aef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/lib/dom.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ function getElementAndAncestors(element) {
134134
while(isTransformableElement(element)) {
135135
allElements.push(element);
136136
element = element.parentNode;
137-
if(typeof ShadowRoot === 'function' && typeof element instanceof ShadowRoot) {
137+
if(typeof ShadowRoot === 'function' && element instanceof ShadowRoot) {
138138
element = element.host;
139139
}
140140
}

0 commit comments

Comments
 (0)