Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Cleanup spacing in css.js. Fixes #10601
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
src/css.js
|
@@ -307,7 +307,7 @@ if ( document.documentElement.currentStyle ) { |
|
|
if ( rsLeft ) { |
|
|
elem.runtimeStyle.left = elem.currentStyle.left; |
|
|
} |
|
|
style.left = name === "fontSize" ? "1em" : (ret || 0); |
|
|
style.left = name === "fontSize" ? "1em" : ( ret || 0 ); |
|
|
ret = style.pixelLeft + "px"; |
|
|
|
|
|
// Revert the changed values |
|
@@ -375,7 +375,7 @@ if ( jQuery.expr && jQuery.expr.filters ) { |
|
|
var width = elem.offsetWidth, |
|
|
height = elem.offsetHeight; |
|
|
|
|
|
return (width === 0 && height === 0) || (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || jQuery.css( elem, "display" )) === "none"); |
|
|
return ( width === 0 && height === 0 ) || (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || jQuery.css( elem, "display" )) === "none"); |
|
|
}; |
|
|
|
|
|
jQuery.expr.filters.visible = function( elem ) { |
|
|