npm run build
This commit is contained in:
2
dist/editor/embedapi.js
vendored
2
dist/editor/embedapi.js
vendored
@@ -362,7 +362,7 @@ class EmbeddedSVGEdit {
|
||||
let sameOriginWithGlobal = false;
|
||||
try {
|
||||
sameOriginWithGlobal = window.location.origin === that.frame.contentWindow.location.origin &&
|
||||
that.frame.contentWindow.svgEditor.canvas;
|
||||
that.frame.contentWindow.svgEditor.svgCanvas;
|
||||
} catch (err) {}
|
||||
|
||||
if (sameOriginWithGlobal) {
|
||||
|
||||
Reference in New Issue
Block a user