Skip to content
Permalink
Browse files

Cleanup spacing in css.js. Fixes #10601

  • Loading branch information...
rwaldron committed Oct 27, 2011
1 parent 9ea21fa commit 4fb7202e0a96c03d3571ffddc3c57481226b0ae0
Showing with 2 additions and 2 deletions.
  1. +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 ) {

0 comments on commit 4fb7202

Please sign in to comment.
You can’t perform that action at this time.