@alexsab-ru/scripts 0.8.0 → 0.8.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 +1 -1
  2. package/package.json +1 -1
package/lib/form.js CHANGED
@@ -316,7 +316,7 @@ async function sendForm(form) {
316
316
  }
317
317
 
318
318
  // Отправка всех форм
319
- document.querySelectorAll("form").forEach((form) => {
319
+ document.querySelectorAll("form:not('.vue-form')").forEach((form) => {
320
320
  form.addEventListener('submit', async (event) => {
321
321
  event.preventDefault();
322
322
  await sendForm(form);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexsab-ru/scripts",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "common libs for websites",
5
5
  "main": "index.js",
6
6
  "scripts": {