Skip to content

Commit d3111c7

Browse files
1 parent c8097b5 commit d3111c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s3file/static/s3file/js/s3file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
file.loaded = 0
2222
return new Promise(function (resolve, reject) {
2323
var xhr = new window.XMLHttpRequest()
24-
xhr.open(method, url)
2524

2625
xhr.onload = function () {
2726
if (xhr.status === 201) {
@@ -62,6 +61,7 @@
6261
reject(xhr.statusText)
6362
}
6463

64+
xhr.open(method, url)
6565
xhr.send(data)
6666
})
6767
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy