Merge pull request #2491 from asturur/fix-object.toDataURL

Update canvas_dataurl_exporter.mixin.js
This commit is contained in:
Juriy Zaytsev 2015-09-27 12:02:53 -04:00
commit 33cdaa1289

View file

@ -59,7 +59,7 @@ fabric.util.object.extend(fabric.StaticCanvas.prototype, /** @lends fabric.Stati
this.renderAll();
var canvasEl = this.upperCanvasEl || this.lowerCanvasEl,
var canvasEl = this.lowerCanvasEl,
croppedCanvasEl = this.__getCroppedCanvas(canvasEl, cropping);
// to avoid common confusion https://github.com/kangax/fabric.js/issues/806