Skip to content
This repository has been archived by the owner on May 22, 2018. It is now read-only.

Commit

Permalink
JasonLeyba: Fix a JS typo. We really should have compile-time type ch…
Browse files Browse the repository at this point in the history
…ecking

enabled for JS fragments as that would have caught this.

Fixes issue 4484

r17745
  • Loading branch information
jleyba committed Aug 31, 2012
1 parent 7c75354 commit ad67464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/chrome-driver/atoms.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ webdriver.chrome.scrollIntoView_ = function(elem, region, center) {
offset.x + region.left, offset.y + region.top,
region.width, region.height);

scroll = webdriver.chrome.computeScrollOffsets_(size, region, center);
var scroll = webdriver.chrome.computeScrollOffsets_(size, region, center);
scrollable.scrollLeft += scroll.x;
scrollable.scrollTop += scroll.y;
}
Expand Down

0 comments on commit ad67464

Please sign in to comment.