@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.
- package/lib/form.js +1 -1
- 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);
|