Commit 959c20f7 authored by John Resig's avatar John Resig

Add a flag to verify if a browser supports some form of XHR request. Fixes #7030.

parent 1ed40517
......@@ -686,6 +686,9 @@ jQuery.extend( jQuery.ajax, {
});
// Does this browser support XHR requests?
jQuery.support.ajax = !!jQuery.ajaxSettings.xhr();
// For backwards compatibility
jQuery.extend( jQuery.ajax );
......
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