git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding in .bind(name, false), .unbind(name, false) support - an easy way to just...
[jquery.git]
/
src
/
ajax.js
diff --git
a/src/ajax.js
b/src/ajax.js
index
7b15a1d
..
08fa08b
100644
(file)
--- a/
src/ajax.js
+++ b/
src/ajax.js
@@
-13,8
+13,8
@@
var jsc = now(),
jQuery.fn.extend({
load: function( url, params, callback ) {
jQuery.fn.extend({
load: function( url, params, callback ) {
- if ( typeof url !== "string" ) {
- return _load.call( this, url );
+ if ( typeof url !== "string" && _load ) {
+ return _load.apply( this, arguments );
// Don't do a request if no elements are being requested
} else if ( !this.length ) {
// Don't do a request if no elements are being requested
} else if ( !this.length ) {