Skip to content
Commit 8952387e authored by Joel Bradshaw's avatar Joel Bradshaw
Browse files

Fix capitalization of header for is('ajax')

The code makes a case-sensitive compare to  'XMLHttpRequest', so anyone manually setting it to XmlHttpRequest per this doc would run into issues of it not showing up as is('ajax').  I also capitalized With in the header name, since that's what jQuery sends, and case doesn't matter there (since it's pulled from the $_SERVER array which is all-caps)
parent b1bd74fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment