We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8419010 commit bb3fff9Copy full SHA for bb3fff9
1 file changed
src/offset.js
@@ -117,7 +117,7 @@ jQuery.fn.extend({
117
elem = this[ 0 ],
118
parentOffset = { top: 0, left: 0 };
119
120
- // Fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is it's only offset parent
+ // Fixed elements are offset from window (parentOffset = {top:0, left: 0}, because it is its only offset parent
121
if ( jQuery.css( elem, "position" ) === "fixed" ) {
122
// We assume that getBoundingClientRect is available when computed position is fixed
123
offset = elem.getBoundingClientRect();
0 commit comments