Skip to content

Commit

Permalink
Remove unused parameter in removeResizeListener invocation (#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 9ecae7c commit 6c49140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/platform.dom.js
Original file line number Diff line number Diff line change
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 6c49140

Please sign in to comment.