aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2013-12-18 20:50:53 -0500
committerDave Methvin <dave.methvin@gmail.com>2013-12-18 20:50:53 -0500
commitbb3fff9ac2c7c8b07809219305d7f86d282fd84f (patch)
treef48476eaaac672f94d0df84ba86d03823b7add16
parent84190105c0f2acb39f33810678c36e4536bd1692 (diff)
downloadjquery-bb3fff9ac2c7c8b07809219305d7f86d282fd84f.tar.gz
jquery-bb3fff9ac2c7c8b07809219305d7f86d282fd84f.zip
Offset: Fix comment typo, thanks @AurelioDeRosa
-rw-r--r--src/offset.js2
1 files changed, 1 insertions, 1 deletions
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();