Skip to content

Commit

Permalink
4 spaces to tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
NV committed Sep 9, 2010
1 parent b59e4c8 commit 0d53023
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/horizontal_box_slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ HorizontalBoxSlider.prototype.left = function(x) {
* @return {number}
*/
HorizontalBoxSlider.prototype.offsetLeftOf = function(element) {
var x = 0;
var x = 0;
while (element.offsetParent !== null && element !== this.element) {
x += element.offsetLeft;
element = element.offsetParent;
}
return x;
return x;
};

/**
Expand Down

0 comments on commit 0d53023

Please sign in to comment.