Skip to content
Permalink
Browse files
Ajax: Use two-arg form of .slice() for old IE
Followup to a4b9bc57, #14773
  • Loading branch information
dmethvin committed Mar 5, 2014
1 parent 80e3dfa commit 5911b3e08798d23c408fab4d0fdf858650ad6b32
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 );
}

0 comments on commit 5911b3e

Please sign in to comment.