From bb3fff9ac2c7c8b07809219305d7f86d282fd84f Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Wed, 18 Dec 2013 20:50:53 -0500 Subject: [PATCH] Offset: Fix comment typo, thanks @AurelioDeRosa --- src/offset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/offset.js b/src/offset.js index 224f74de4..dc7bb9557 100644 --- a/src/offset.js +++ b/src/offset.js @@ -117,7 +117,7 @@ jQuery.fn.extend({ elem = this[ 0 ], parentOffset = { top: 0, left: 0 }; - // 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 if ( jQuery.css( elem, "position" ) === "fixed" ) { // We assume that getBoundingClientRect is available when computed position is fixed offset = elem.getBoundingClientRect(); -- 2.39.5