mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
This commit is contained in:
@@ -532,7 +532,7 @@ jQuery(function() {
|
||||
|
||||
if ( jQuery.expr && jQuery.expr.filters ) {
|
||||
jQuery.expr.filters.hidden = function( elem ) {
|
||||
return elem.offsetWidth === 0 && elem.offsetHeight === 0;
|
||||
return elem.offsetWidth === 0 || elem.offsetHeight === 0;
|
||||
};
|
||||
|
||||
jQuery.expr.filters.visible = function( elem ) {
|
||||
|
||||
Reference in New Issue
Block a user