aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2011-10-27 15:34:42 -0400
committerRick Waldron <waldron.rick@gmail.com>2011-10-27 15:34:42 -0400
commitb723d49d0d465410128f22bd27f4fc9a35023be0 (patch)
tree1b4444639973f1dc9cc2697a51cb68cb88f04a6d
parent79875457c08451033d1a618cb7d3984c8055fc3a (diff)
downloadjquery-b723d49d0d465410128f22bd27f4fc9a35023be0.tar.gz
jquery-b723d49d0d465410128f22bd27f4fc9a35023be0.zip
Cleanup spacing in support.js. Fixes #10601
-rw-r--r--src/support.js10
1 files 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;