Skip to content

Commit

Permalink
Remove unused parameter in removeResizeListener invocation (chartjs#5970
Browse files Browse the repository at this point in the history
)
  • Loading branch information
DanielRuf authored and simonbrunel committed Jan 9, 2019
1 parent c9c0081 commit 8f226c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/platform.dom.js
Expand Up @@ -424,7 +424,7 @@ module.exports = {
var canvas = chart.canvas;
if (type === 'resize') {
// Note: the resize event is not supported on all browsers.
removeResizeListener(canvas, listener);
removeResizeListener(canvas);
return;
}

Expand Down

0 comments on commit 8f226c0

Please sign in to comment.