@innovastudio/contentbuilder 1.1.8 → 1.1.9
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/package.json
CHANGED
|
@@ -46852,6 +46852,7 @@ class Image {
|
|
|
46852
46852
|
imageTool.style.display = '';
|
|
46853
46853
|
setTimeout(() => {
|
|
46854
46854
|
let elm = this.builder.activeImage;
|
|
46855
|
+
if (!elm) return;
|
|
46855
46856
|
|
|
46856
46857
|
if (dom$A.hasClass(elm.parentNode, 'img-circular')) {
|
|
46857
46858
|
elm = elm.parentNode;
|
|
@@ -66714,7 +66715,8 @@ class ContentBuilder {
|
|
|
66714
66715
|
|
|
66715
66716
|
document.addEventListener('click', this.doDocumentClick = e => {
|
|
66716
66717
|
e = e || window.event;
|
|
66717
|
-
|
|
66718
|
+
let target = e.target || e.srcElement;
|
|
66719
|
+
if (!target) return;
|
|
66718
66720
|
let rowClicked = dom.hasClass(target.parentNode, 'is-builder');
|
|
66719
66721
|
let containerClicked = dom.hasClass(target, 'is-builder');
|
|
66720
66722
|
let a = false,
|