isobit-ui 0.2.31 → 0.2.32

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.
Files changed (2) hide show
  1. package/dist/index.js +11 -10
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.2.30
2
+ * isobit-ui v0.2.31
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -1179,17 +1179,18 @@ var script$j = {
1179
1179
  } else {
1180
1180
  el = el.children[0];
1181
1181
  el.style.height = h + "px";
1182
- } //h = h - 20;
1183
-
1182
+ }
1184
1183
 
1185
- el.style.overflowY = "auto";
1186
- el.style.height = h + "px";
1187
- var event = new Event("parentResize", {
1188
- bubbles: true
1189
- });
1190
- event.height = h; //console.log(el.children[0]);
1184
+ if (el) {
1185
+ el.style.overflowY = "auto";
1186
+ el.style.height = h + "px";
1187
+ var event = new Event("parentResize", {
1188
+ bubbles: true
1189
+ });
1190
+ event.height = h; //console.log(el.children[0]);
1191
1191
 
1192
- el.children[0].dispatchEvent(event);
1192
+ el.children[0].dispatchEvent(event);
1193
+ }
1193
1194
  }
1194
1195
  },
1195
1196
  mounted: function mounted() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.2.31",
3
+ "version": "0.2.32",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [