@samitouri / QOS-React / commits / 13cb540bda

Lint

Ben Alpert committed Nov 23, 2016 at 17:25 UTC 13cb540bda0a120de87b3cc73230d7b04e0013cc
1 file changed +3 -3
src/renderers/dom/shared/ReactInputSelection.js
+3 -3
@@ -83,9 +83,9 @@ var ReactInputSelection = {
83 focusNode(priorFocusedElem);
84
85 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;
89 }
90 }
91 },