]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Fix HTMLIframeElement remove/removeNode issue in removeResizeListener method 1538/head
authorLucas Styles <lucas.styles@outlook.com>
Fri, 16 Oct 2015 23:35:47 +0000 (00:35 +0100)
committerLucas Styles <lucas.styles@outlook.com>
Fri, 16 Oct 2015 23:35:47 +0000 (00:35 +0100)
src/core/core.helpers.js

index 8bd28bccc082aedc610f06d7504da6161ac2c435..a15b06b44e56720bd04e080412d45da383cb4b5e 100644 (file)
 
                        // Remove the resize detect iframe
                        if (hiddenIframe) {
-                               hiddenIframe.remove();
+                               hiddenIframe.parentNode.removeChild(hiddenIframe);
                        }
                },
                isArray = helpers.isArray = function(obj) {