Reverted back a $.tag change.

This commit is contained in:
John Resig 2006-06-14 17:31:09 +00:00
parent 55370e5710
commit 25f5af1bcb

2
jquery/jquery.js vendored
View file

@ -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 ) : [];
};