Skip to content

Commit 36abb06

Browse files
committed
* withCredential -> withCredentials
1 parent f97a3ec commit 36abb06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

FileAPI.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/FileAPI.XHR.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
}
141141

142142
xhr.open('POST', url, true);
143-
xhr.withCredential = "true";
143+
xhr.withCredentials = "true";
144144

145145
if( !options.headers || !options.headers['X-Requested-With'] ){
146146
xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');

0 commit comments

Comments
 (0)