Permalink
Browse files

Cleanup spacing in support.js. Fixes #10601

  • Loading branch information...
1 parent 7987545 commit b723d49d0d465410128f22bd27f4fc9a35023be0 @rwaldron rwaldron committed Oct 27, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/support.js
View
@@ -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;

0 comments on commit b723d49

Please sign in to comment.