Skip to content

Commit 13cb540

Browse files
committed
Lint
1 parent c5b6601 commit 13cb540

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/renderers/dom/shared/ReactInputSelection.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ var ReactInputSelection = {
8383
focusNode(priorFocusedElem);
8484

8585
for (let i = 0; i < ancestors.length; i++) {
86-
const ancestor = ancestors[i];
87-
ancestor.element.scrollLeft = ancestor.left;
88-
ancestor.element.scrollTop = ancestor.top;
86+
const info = ancestors[i];
87+
info.element.scrollLeft = info.left;
88+
info.element.scrollTop = info.top;
8989
}
9090
}
9191
},

0 commit comments

Comments
 (0)