@alexsab-ru/scripts 0.4.0 → 0.4.1

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.
Files changed (2) hide show
  1. package/lib/form.js +4 -0
  2. package/package.json +1 -1
package/lib/form.js CHANGED
@@ -163,6 +163,10 @@ document.querySelectorAll("form").forEach((form) => {
163
163
  window.location.origin + window.location.pathname
164
164
  );
165
165
 
166
+ if(window.re) {
167
+ formData.append("re", window.re);
168
+ }
169
+
166
170
  window.location.search
167
171
  .slice(1)
168
172
  .split("&")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexsab-ru/scripts",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "common libs for websites",
5
5
  "main": "index.js",
6
6
  "repository": {