From 83a355a9a06c03eeb4e601dbe204909d273c91b5 Mon Sep 17 00:00:00 2001 From: timmywil Date: Mon, 31 Oct 2011 12:33:55 -0400 Subject: jQuery.support.supportsFixedPosition -> jQuery.support.fixedPosition; Remove jQuery.offset.supportProps and reference support in offset --- src/support.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/support.js') 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 ); }); -- cgit v1.2.3