Skip to content

Commit

Permalink
Remove Firefox workaround
Browse files Browse the repository at this point in the history
The workaround for older Firefox should be removed, because latest
supported Firefox 38.4.0/42.0 do not require it.
And it has side effect like chartjs#1198 or my problem on Kintone on cybozu.com.
  • Loading branch information
ryoon committed Dec 12, 2015
1 parent 4297672 commit e94bd46
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Chart.Core.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@
var width = this.width = computeDimension(context.canvas,'Width') || context.canvas.width;
var height = this.height = computeDimension(context.canvas,'Height') || context.canvas.height;

// Firefox requires this to work correctly
context.canvas.width = width;
context.canvas.height = height;

width = this.width = context.canvas.width;
height = this.height = context.canvas.height;
this.aspectRatio = this.width / this.height;
Expand Down

0 comments on commit e94bd46

Please sign in to comment.