Commit 25f5af1b authored by John Resig's avatar John Resig

Reverted back a $.tag change.

parent 55370e57
......@@ -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 ) : [];
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment