Commit e8627fe1 authored by John Resig's avatar John Resig

Minor bug fixes.

parent 4737936c
......@@ -71,7 +71,7 @@ new function(){
return this.bind(o, f);
};
}
}
};
jQuery.extend({
......
......@@ -1292,7 +1292,7 @@ jQuery.extend({
find: function( t, context ) {
// Make sure that the context is a DOM Element
if ( context && context.getElementsByTagName == undefined )
if ( context && context.nodeType == undefined )
context = null;
// Set the correct context (if none is provided)
......
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