Commit 5911b3e0 authored by Dave Methvin's avatar Dave Methvin

Ajax: Use two-arg form of .slice() for old IE

Followup to a4b9bc57, #14773
parent 80e3dfa6
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment