Skip to content

Commit

Permalink
Fix default value of Croppie size parameter (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
duygualyzc authored and thedustinsmith committed Jul 14, 2017
1 parent 05c8d08 commit 0d9a822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion croppie.js
Original file line number Diff line number Diff line change
Expand Up @@ -1175,7 +1175,7 @@
data = _get.call(self),
opts = deepExtend(RESULT_DEFAULTS, deepExtend({}, options)),
resultType = (typeof (options) === 'string' ? options : (opts.type || 'base64')),
size = opts.size,
size = opts.size || 'viewport',
format = opts.format,
quality = opts.quality,
backgroundColor = opts.backgroundColor,
Expand Down

0 comments on commit 0d9a822

Please sign in to comment.