Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
5 additions
and
2 deletions.
-
+5
−2
src/ajax.js
There are no files selected for viewing
|
|
@@ -1,7 +1,10 @@ |
|
|
jQuery.fn.extend({ |
|
|
// Keep a copy of the old load |
|
|
_load: jQuery.fn.load, |
|
|
|
|
|
load: function( url, params, callback ) { |
|
|
if ( jQuery.isFunction( url ) ) |
|
|
return this.bind("load", url); |
|
|
if ( typeof url != 'string' ) |
|
|
return this._load( url ); |
|
|
|
|
|
var off = url.indexOf(" "); |
|
|
if ( off >= 0 ) { |
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.