Skip to content

Commit e94bd46

Browse files
committed
Remove Firefox workaround
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.
1 parent 4297672 commit e94bd46

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Chart.Core.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@
4040
var width = this.width = computeDimension(context.canvas,'Width') || context.canvas.width;
4141
var height = this.height = computeDimension(context.canvas,'Height') || context.canvas.height;
4242

43-
// Firefox requires this to work correctly
44-
context.canvas.width = width;
45-
context.canvas.height = height;
46-
4743
width = this.width = context.canvas.width;
4844
height = this.height = context.canvas.height;
4945
this.aspectRatio = this.width / this.height;

0 commit comments

Comments
 (0)