@formique/semantq 1.0.5 → 1.0.6
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/formique-semantq.js +6 -12
- package/package.json +1 -1
package/formique-semantq.js
CHANGED
|
@@ -82,8 +82,8 @@ class Formique extends FormBuilder {
|
|
|
82
82
|
];
|
|
83
83
|
this.formiqueEndpoint = "https://formiqueapi.onrender.com/api/send-email";
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
document.addEventListener('DOMContentLoaded', () => {
|
|
85
|
+
// DISABLE DOM LISTENER
|
|
86
|
+
//document.addEventListener('DOMContentLoaded', () => {
|
|
87
87
|
// 1. Build the form's HTML in memory
|
|
88
88
|
this.formMarkUp += this.renderFormElement(); // Adds opening <form> tag and any hidden inputs
|
|
89
89
|
|
|
@@ -164,7 +164,10 @@ class Formique extends FormBuilder {
|
|
|
164
164
|
} else {
|
|
165
165
|
this.applyTheme('dark', this.formContainerId);
|
|
166
166
|
}
|
|
167
|
-
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
//DISABLE DOM LISTNER
|
|
170
|
+
//}); // DOM LISTENER WRAPPER
|
|
168
171
|
|
|
169
172
|
// CONSTRUCTOR WRAPPER FOR FORMIQUE CLASS
|
|
170
173
|
}
|
|
@@ -4019,12 +4022,3 @@ const spinner = `<div id="formiqueSpinner" style="display: flex; align-items: ce
|
|
|
4019
4022
|
export default Formique;
|
|
4020
4023
|
|
|
4021
4024
|
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|