Skip to content

Commit

Permalink
jquery core: Closes #3666. Removed old code.
Browse files Browse the repository at this point in the history
  • Loading branch information
flesler committed Dec 25, 2008
1 parent 53e9fb9 commit 5459180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.js
Expand Up @@ -81,7 +81,7 @@ jQuery.fn = jQuery.prototype = {
// HANDLE: $(function)
// Shortcut for document ready
} else if ( jQuery.isFunction( selector ) )
return jQuery( document )[ jQuery.fn.ready ? "ready" : "load" ]( selector );
return jQuery( document ).ready( selector );

return this.setArray(jQuery.makeArray(selector));
},
Expand Down

0 comments on commit 5459180

Please sign in to comment.