mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Optimize for size instead of speed.
This commit is contained in:
parent
2a0c7d702b
commit
c04500a834
@ -201,7 +201,7 @@ jQuery.extend({
|
||||
// toString fixes people passing a window.location or
|
||||
// document.location to $.ajax, which worked in 1.4.2 and
|
||||
// earlier (bug #7531). It should be removed in 1.5.
|
||||
s.url = s.url.toString().replace( rhash, "" );
|
||||
s.url = ("" + s.url).replace( rhash, "" );
|
||||
|
||||
// Use original (not extended) context object if it was provided
|
||||
s.context = origSettings && origSettings.context != null ? origSettings.context : s;
|
||||
|
Loading…
Reference in New Issue
Block a user