diff --git a/editor/svg-editor.js b/editor/svg-editor.js index c70df219..1a23ff02 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -798,7 +798,7 @@ TODOS (function() { // let the opener know SVG Edit is ready (now that config is set up) var svgEditorReadyEvent, - w = window.opener; + w = window.opener || window.parent; if (w) { try { svgEditorReadyEvent = w.document.createEvent('Event');