From: Lucas Styles Date: Fri, 16 Oct 2015 23:35:47 +0000 (+0100) Subject: Fix HTMLIframeElement remove/removeNode issue in removeResizeListener method X-Git-Tag: 2.0.0-beta~10^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1538%2Fhead;p=thirdparty%2FChart.js.git Fix HTMLIframeElement remove/removeNode issue in removeResizeListener method --- diff --git a/src/core/core.helpers.js b/src/core/core.helpers.js index 8bd28bccc..a15b06b44 100644 --- a/src/core/core.helpers.js +++ b/src/core/core.helpers.js @@ -867,7 +867,7 @@ // Remove the resize detect iframe if (hiddenIframe) { - hiddenIframe.remove(); + hiddenIframe.parentNode.removeChild(hiddenIframe); } }, isArray = helpers.isArray = function(obj) {