Also trigger the svgEditorReady event when opened through an iframe.

master
KB Jørgensen 2016-08-01 09:48:00 +02:00
parent 2246052141
commit f9b7ae97e5
1 changed files with 1 additions and 1 deletions

View File

@ -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');