From b723d49d0d465410128f22bd27f4fc9a35023be0 Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Thu, 27 Oct 2011 15:34:42 -0400 Subject: Cleanup spacing in support.js. Fixes #10601 --- src/support.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/support.js b/src/support.js index 7ea85984f..20cf2b526 100644 --- a/src/support.js +++ b/src/support.js @@ -279,22 +279,22 @@ jQuery.support = (function() { td = outer.nextSibling.firstChild.firstChild; supports = { - doesNotAddBorder: (inner.offsetTop !== 5), - doesAddBorderForTableAndCells: (td.offsetTop === 5) + doesNotAddBorder: ( inner.offsetTop !== 5 ), + doesAddBorderForTableAndCells: ( td.offsetTop === 5 ) }; inner.style.position = "fixed"; inner.style.top = "20px"; // safari subtracts parent border width here which is 5px - supports.supportsFixedPosition = (inner.offsetTop === 20 || inner.offsetTop === 15); + supports.supportsFixedPosition = ( inner.offsetTop === 20 || inner.offsetTop === 15 ); inner.style.position = inner.style.top = ""; outer.style.overflow = "hidden"; outer.style.position = "relative"; - supports.subtractsBorderForOverflowNotVisible = (inner.offsetTop === -5); - supports.doesNotIncludeMarginInBodyOffset = (body.offsetTop !== bodyMarginTop); + supports.subtractsBorderForOverflowNotVisible = ( inner.offsetTop === -5 ); + supports.doesNotIncludeMarginInBodyOffset = ( body.offsetTop !== bodyMarginTop ); return supports; -- cgit v1.2.3