@saasquatch/squatch-js 2.8.2-30 → 2.8.2-31
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/squatch.cjs.js +6 -2
- package/dist/squatch.cjs.js.map +1 -1
- package/dist/squatch.esm.js +6 -2
- package/dist/squatch.esm.js.map +1 -1
- package/dist/squatch.js +6 -2
- package/dist/squatch.js.map +1 -1
- package/dist/squatch.min.js +1 -1
- package/package.json +1 -1
package/dist/squatch.js
CHANGED
|
@@ -2416,8 +2416,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
2416
2416
|
skeletonContainer.id = "loading-skeleton";
|
|
2417
2417
|
skeletonContainer.innerHTML = skeletonHTML;
|
|
2418
2418
|
const root = this.shadowRoot || this.attachShadow({ mode: "open" });
|
|
2419
|
-
|
|
2420
|
-
|
|
2419
|
+
const container = root.getElementById("#squatchModal");
|
|
2420
|
+
console.log("Container is ", container);
|
|
2421
|
+
if (container) {
|
|
2422
|
+
container.innerHTML = "";
|
|
2423
|
+
container.appendChild(skeletonContainer);
|
|
2424
|
+
}
|
|
2421
2425
|
await this.renderWidget();
|
|
2422
2426
|
const loadingElement = root.getElementById("loading-skeleton");
|
|
2423
2427
|
if (loadingElement) {
|