@optionfactory/ful 6.0.0 → 6.0.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/dist/ful.iife.js +5 -2
- package/dist/ful.iife.js.map +1 -1
- package/dist/ful.iife.min.js +1 -1
- package/dist/ful.iife.min.js.map +1 -1
- package/dist/ful.min.mjs +1 -1
- package/dist/ful.min.mjs.map +1 -1
- package/dist/ful.mjs +5 -2
- package/dist/ful.mjs.map +1 -1
- package/package.json +4 -4
package/dist/ful.mjs
CHANGED
|
@@ -1400,8 +1400,11 @@ class Form extends ParsedElement {
|
|
|
1400
1400
|
const hel = /** @type HTMLElement */ (el);
|
|
1401
1401
|
hel.hidden = !spin;
|
|
1402
1402
|
});
|
|
1403
|
-
this.querySelectorAll('
|
|
1404
|
-
const hel = /** @type HTMLButtonElement */ (el);
|
|
1403
|
+
this.querySelectorAll('input,button').forEach(el => {
|
|
1404
|
+
const hel = /** @type HTMLButtonElement|HTMLInputElement */ (el);
|
|
1405
|
+
if(hel.type !== 'submit' && hel.type !== 'reset'){
|
|
1406
|
+
return;
|
|
1407
|
+
}
|
|
1405
1408
|
hel.disabled = spin;
|
|
1406
1409
|
});
|
|
1407
1410
|
}
|