diff --git a/src/views/composer.observe.js b/src/views/composer.observe.js index 5868847..5ad4a8c 100644 --- a/src/views/composer.observe.js +++ b/src/views/composer.observe.js @@ -597,6 +597,7 @@ // --------- destroy:composer event --------- container.addEventListener(["DOMNodeRemoved"], handleDomNodeRemoved.bind(this), false); + container.addEventListener(["DOMNodeRemovedFromDocument"], handleDomNodeRemoved.bind(this), false); // DOMNodeRemoved event is not supported in IE 8 // TODO: try to figure out a polyfill style fix, so it could be transferred to polyfills and removed if ie8 is not needed