@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.cjs.js
CHANGED
|
@@ -2414,8 +2414,12 @@ class DeclarativePopupWidget extends DeclarativeWidget {
|
|
|
2414
2414
|
skeletonContainer.id = "loading-skeleton";
|
|
2415
2415
|
skeletonContainer.innerHTML = skeletonHTML;
|
|
2416
2416
|
const root = this.shadowRoot || this.attachShadow({ mode: "open" });
|
|
2417
|
-
|
|
2418
|
-
|
|
2417
|
+
const container = root.getElementById("#squatchModal");
|
|
2418
|
+
console.log("Container is ", container);
|
|
2419
|
+
if (container) {
|
|
2420
|
+
container.innerHTML = "";
|
|
2421
|
+
container.appendChild(skeletonContainer);
|
|
2422
|
+
}
|
|
2419
2423
|
await this.renderWidget();
|
|
2420
2424
|
const loadingElement = root.getElementById("loading-skeleton");
|
|
2421
2425
|
if (loadingElement) {
|