diff --git a/src/core/core.controller.js b/src/core/core.controller.js index dd12459400b..074cf591daf 100644 --- a/src/core/core.controller.js +++ b/src/core/core.controller.js @@ -422,7 +422,7 @@ module.exports = function(Chart) { canvas.style.width = this.chart.originalCanvasStyleWidth; canvas.style.height = this.chart.originalCanvasStyleHeight; - Chart.pluginService.notifyPlugins('destory', [this]); + Chart.pluginService.notifyPlugins('destroy', [this]); delete Chart.instances[this.id]; }, diff --git a/src/core/core.plugin.js b/src/core/core.plugin.js index 8a82e4e944a..35479098f1d 100644 --- a/src/core/core.plugin.js +++ b/src/core/core.plugin.js @@ -53,6 +53,6 @@ module.exports = function(Chart) { afterDraw: helpers.noop, // Called during destroy - destory: helpers.noop, + destroy: helpers.noop, }); -}; \ No newline at end of file +};