Skip to content

Commit

Permalink
Change canvasEl to work on browser and node.
Browse files Browse the repository at this point in the history
  • Loading branch information
asturur committed Feb 8, 2016
1 parent ca7d16a commit fb42a34
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.lowerCanvasEl,
var canvasEl = this.contextContainer.canvas,
croppedCanvasEl = this.__getCroppedCanvas(canvasEl, cropping);

// to avoid common confusion https://github.com/kangax/fabric.js/issues/806
Expand Down

0 comments on commit fb42a34

Please sign in to comment.