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