@prose-reader/core 1.88.0 → 1.90.0
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -7235,7 +7235,7 @@ const createReader = (inputSettings) => {
|
|
|
7235
7235
|
var _a;
|
|
7236
7236
|
const containerElement = (_a = elementSubject$.getValue()) == null ? void 0 : _a.parentElement;
|
|
7237
7237
|
const element = elementSubject$.getValue();
|
|
7238
|
-
if (!element || !containerElement)
|
|
7238
|
+
if (!element || !containerElement) return;
|
|
7239
7239
|
const dimensions = {
|
|
7240
7240
|
width: containerElement == null ? void 0 : containerElement.offsetWidth,
|
|
7241
7241
|
height: containerElement == null ? void 0 : containerElement.offsetHeight
|