diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2013-01-02 19:49:59 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2013-01-03 20:52:35 -0500 |
commit | 02d7f9aee3fbe9b568702ecc4edd664245dc8917 (patch) | |
tree | b460310939c5dd3896ed4e670f5e654d12ed238f /src/css.js | |
parent | 3d9edb32bc4abfb33a4029edab80099e1bfdaedc (diff) | |
download | jquery-02d7f9aee3fbe9b568702ecc4edd664245dc8917.tar.gz jquery-02d7f9aee3fbe9b568702ecc4edd664245dc8917.zip |
Remove support.reliableHiddenOffsets detect.
Diffstat (limited to 'src/css.js')
-rw-r--r-- | src/css.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/css.js b/src/css.js index 237caed4a..a29356e1b 100644 --- a/src/css.js +++ b/src/css.js @@ -537,7 +537,7 @@ jQuery(function() { if ( jQuery.expr && jQuery.expr.filters ) { jQuery.expr.filters.hidden = function( elem ) { - return ( elem.offsetWidth === 0 && elem.offsetHeight === 0 ) || (!jQuery.support.reliableHiddenOffsets && ((elem.style && elem.style.display) || jQuery.css( elem, "display" )) === "none"); + return elem.offsetWidth === 0 && elem.offsetHeight === 0; }; jQuery.expr.filters.visible = function( elem ) { |