Update editor-bridge.hbs

This commit is contained in:
witzig 2017-03-02 21:53:07 +01:00 committed by GitHub
parent a11d95f3d7
commit fa9a3de863

View file

@ -46,7 +46,7 @@
.attr('src', '/{{editorName}}/editor?id={{id}}&type=' + type)
.on('load', function() {
editorWindow = $editorFrame[0].contentWindow;
editorWindow.bridge || (editorWindow.bridge = {});
editorWindow.bridge = editorWindow.bridge || {};
editorWindow.bridge.exit = function() {
closeEditor();
}