diff options
Diffstat (limited to 'src/selector.js')
-rw-r--r-- | src/selector.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selector.js b/src/selector.js index a7d94c39d..c6fc0255a 100644 --- a/src/selector.js +++ b/src/selector.js @@ -978,7 +978,7 @@ jQuery.expr[":"] = jQuery.expr.filters; Sizzle.selectors.filters.hidden = function(elem){ var width = elem.offsetWidth, height = elem.offsetHeight, - force = /^tr$/i.test( elem.tagName ); // ticket #4512 + force = /^tr$/i.test( elem.nodeName ); // ticket #4512 return ( width === 0 && height === 0 && !force ) ? true : ( width !== 0 && height !== 0 && !force ) ? |