@subiz/widget-v4 4.1.133 → 4.1.134
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/compiled_src/form.js +1 -1
- package/package.json +1 -1
- package/src/form.js +1 -1
package/compiled_src/form.js
CHANGED
|
@@ -28,7 +28,7 @@ async function renderForm(form, chatbox, $div) {
|
|
|
28
28
|
}), $div);
|
|
29
29
|
}
|
|
30
30
|
async function initCss(chatbox) {
|
|
31
|
-
if (
|
|
31
|
+
if (loadStatus) return;
|
|
32
32
|
loadStatus = 'loadiing';
|
|
33
33
|
let css = (await promiseMainCSS).default.default.toString();
|
|
34
34
|
let outcss = _index.default.replaceCssVariable(css, chatbox);
|
package/package.json
CHANGED
package/src/form.js
CHANGED
|
@@ -15,7 +15,7 @@ export default async function renderForm(form, chatbox, $div) {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
async function initCss(chatbox) {
|
|
18
|
-
if (
|
|
18
|
+
if (loadStatus) return
|
|
19
19
|
loadStatus = 'loadiing'
|
|
20
20
|
let css = (await promiseMainCSS).default.default.toString()
|
|
21
21
|
let outcss = sb.replaceCssVariable(css, chatbox)
|