mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
The script prefilter now forces cross-domain requests type to GET.
This commit is contained in:
parent
914aa3d66b
commit
f74b844989
@ -23,6 +23,7 @@ jQuery.ajaxSetup({
|
||||
}
|
||||
|
||||
if ( s.crossDomain ) {
|
||||
s.type = "GET";
|
||||
s.global = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user