mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Lint
This commit is contained in:
1 parent
c5b6601536
commit
13cb540bda
1 file changed
+3
-3
@@ -83,9 +83,9 @@ var ReactInputSelection = {
|
||||
focusNode(priorFocusedElem);
|
||||
|
||||
for (let i = 0; i < ancestors.length; i++) {
|
||||
const ancestor = ancestors[i];
|
||||
ancestor.element.scrollLeft = ancestor.left;
|
||||
ancestor.element.scrollTop = ancestor.top;
|
||||
const info = ancestors[i];
|
||||
info.element.scrollLeft = info.left;
|
||||
info.element.scrollTop = info.top;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user