mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Small adjustment to prefilter test. Follow the right path for prefixes.
This commit is contained in:
parent
68213f20bb
commit
e12746d756
@ -1525,9 +1525,10 @@ module( "ajax", {
|
||||
//----------- jQuery.ajaxPrefilter()
|
||||
|
||||
ajaxTest( "jQuery.ajaxPrefilter() - abort", 1, {
|
||||
dataType: "prefix",
|
||||
setup: function() {
|
||||
// Ensure prefix does not throw an error
|
||||
jQuery.ajaxPrefilter("+prefix *", function( options, _, jqXHR ) {
|
||||
jQuery.ajaxPrefilter("+prefix", function( options, _, jqXHR ) {
|
||||
if ( options.abortInPrefilter ) {
|
||||
jqXHR.abort();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user