@glitchr/transparent 1.0.28 → 1.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glitchr/transparent",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
4
4
  "description": "Transparent SPA Application",
5
5
  "main": "src/index.js",
6
6
  "access": "public",
@@ -1418,7 +1418,8 @@
1418
1418
 
1419
1419
  var form = target != undefined && target.tagName == "FORM" ? target : undefined;
1420
1420
  if (form) {
1421
- data = new FormEvent(form);
1421
+
1422
+ data = new FormData(form);
1422
1423
  $(form).find(':submit').attr('disabled', 'disabled');
1423
1424
  }
1424
1425
 
@@ -1621,7 +1622,6 @@
1621
1622
  url: url.href,
1622
1623
  type: type,
1623
1624
  data: data,
1624
- cache: false,
1625
1625
  contentType: false,
1626
1626
  processData: false,
1627
1627
  headers: Settings["headers"] || {},