Skip to content

Commit bb3fff9

Browse files
committed
Offset: Fix comment typo, thanks @AurelioDeRosa
1 parent 8419010 commit bb3fff9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/offset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jQuery.fn.extend({
117117
elem = this[ 0 ],
118118
parentOffset = { top: 0, left: 0 };
119119

120-
// Fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is it's only offset parent
120+
// Fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is its only offset parent
121121
if ( jQuery.css( elem, "position" ) === "fixed" ) {
122122
// We assume that getBoundingClientRect is available when computed position is fixed
123123
offset = elem.getBoundingClientRect();

0 commit comments

Comments
 (0)