chart.js Version: 2.3.0 Browsers: Chrome (51 fnd other), Firefox and other. When we use ChartJS whis gridstack.js and bootstrap, sometimes we have an error whis hiddenIframe resizing. Sometimes resizing does not work. What about replace this: `(hiddenIframe.contentWindow || hiddenIframe).onresize = function() { if (callback) { return callback(); } };` on this: `(window).onresize = function() { if (callback) { return callback(); } };` Its line 5776 chart.js When we use `window` everithyng work fine.