From: Brandon Aaron Date: Thu, 2 Nov 2006 21:03:08 +0000 (+0000) Subject: Backing out of REV 522 for further testing X-Git-Tag: 1.0.4~63 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d6d331696210c10f0502bd0effa0750ded27b420;p=jquery.git Backing out of REV 522 for further testing --- diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index bdbf97c1f..996ace866 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -31,7 +31,7 @@ window.undefined = window.undefined; var jQuery = function(a,c) { // Shortcut for document ready (because $(document).each() is silly) - if ( a && typeof a == "function" && jQuery.fn.ready && a.length == undefined ) // Safari reports DOM NodeLists typeof as function + if ( a && typeof a == "function" && jQuery.fn.ready ) return jQuery(document).ready(a); // Make sure that a selection was provided