@subiz/widget-v4 4.1.133 → 4.1.135

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.
@@ -438,6 +438,7 @@ select {
438
438
 
439
439
  .form-wrapper.form {
440
440
  padding: 20px;
441
+ background-color: #fff;
441
442
  }
442
443
 
443
444
  .form-page {
@@ -28,7 +28,7 @@ async function renderForm(form, chatbox, $div) {
28
28
  }), $div);
29
29
  }
30
30
  async function initCss(chatbox) {
31
- if (!loadStatus) return;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@subiz/widget-v4",
3
- "version": "4.1.133",
3
+ "version": "4.1.135",
4
4
  "main": "./compiled_src/lib.js",
5
5
  "scripts": {
6
6
  "dev": "npx webpack serve --config webpack.dev.js",
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 (!loadStatus) return
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)