aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authortimmywil <timmywillisn@gmail.com>2011-10-31 12:33:55 -0400
committertimmywil <timmywillisn@gmail.com>2011-10-31 12:33:55 -0400
commit83a355a9a06c03eeb4e601dbe204909d273c91b5 (patch)
tree7784ae6f9a97467e4142f288a763c0dcd5e9a4ca /src/support.js
parentcec4018d0e5249203aaba203cd67147a1162b435 (diff)
downloadjquery-83a355a9a06c03eeb4e601dbe204909d273c91b5.tar.gz
jquery-83a355a9a06c03eeb4e601dbe204909d273c91b5.zip
jQuery.support.supportsFixedPosition -> jQuery.support.fixedPosition; Remove jQuery.offset.supportProps and reference support in offset
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/support.js b/src/support.js
index 38cceff4b..1920e5b87 100644
--- a/src/support.js
+++ b/src/support.js
@@ -289,7 +289,7 @@ jQuery.support = (function() {
inner.style.top = "20px";
// safari subtracts parent border width here which is 5px
- offsetSupport.supportsFixedPosition = ( inner.offsetTop === 20 || inner.offsetTop === 15 );
+ offsetSupport.fixedPosition = ( inner.offsetTop === 20 || inner.offsetTop === 15 );
inner.style.position = inner.style.top = "";
outer.style.overflow = "hidden";
@@ -301,8 +301,6 @@ jQuery.support = (function() {
body.removeChild( container );
testElement = container = null;
- // Extend both jQuery.offset and jQuery.support
- jQuery.extend( jQuery.offset, offsetSupport );
jQuery.extend( support, offsetSupport );
});