diff --git a/jquery/jquery.js b/jquery/jquery.js index 1e1e4aba..4a9614c5 100644 --- a/jquery/jquery.js +++ b/jquery/jquery.js @@ -577,7 +577,7 @@ $.Select = function( t, context ) { }; $.tag = function(a,b){ - return a && a.getElementsByTagName ? + return a && typeof a.getElementsByTagName != 'undefined' ? a.getElementsByTagName( b ) : []; };