aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ajax/load.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax/load.js b/src/ajax/load.js
index 337064673..24ca95e99 100644
--- a/src/ajax/load.js
+++ b/src/ajax/load.js
@@ -25,7 +25,7 @@ jQuery.fn.load = function( url, params, callback ) {
off = url.indexOf(" ");
if ( off >= 0 ) {
- selector = jQuery.trim( url.slice( off ) );
+ selector = jQuery.trim( url.slice( off, url.length ) );
url = url.slice( 0, off );
}