Skip to content

Commit

Permalink
Merge pull request #2491 from asturur/fix-object.toDataURL
Browse files Browse the repository at this point in the history
Update canvas_dataurl_exporter.mixin.js
  • Loading branch information
kangax committed Sep 27, 2015
2 parents 30c64ec + 520e8e6 commit 33cdaa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mixins/canvas_dataurl_exporter.mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 33cdaa1

Please sign in to comment.