Skip to content

Commit 3985d70

Browse files
committed
Added data to XDomainRequest body
1 parent 609c953 commit 3985d70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/amplitude.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@
420420
xdr.onload = function() {
421421
callback(xdr.responseText);
422422
};
423-
xdr.send();
423+
xdr.send(queryString(this.data));
424424
} else {
425425
var xhr = new XMLHttpRequest();
426426
xhr.open('POST', this.url, true);

0 commit comments

Comments
 (0)