From: John Resig Date: Wed, 14 Jun 2006 17:31:09 +0000 (+0000) Subject: Reverted back a $.tag change. X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=25f5af1bcb7581e5e8462201781665e8ec637972;p=jquery.git Reverted back a $.tag change. --- diff --git a/jquery/jquery.js b/jquery/jquery.js index 1e1e4ab..4a9614c 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 ) : []; };