From 8c00a7695546e9b6f3721b6c00232b6ab3cd7d04 Mon Sep 17 00:00:00 2001 From: I am not shine Date: Wed, 3 Feb 2016 15:04:27 +0800 Subject: [PATCH] fix bug fix bug --- image-resize-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image-resize-client.js b/image-resize-client.js index 6a7c325..4229a18 100644 --- a/image-resize-client.js +++ b/image-resize-client.js @@ -9,7 +9,7 @@ Resizer = { // Convert to LoadImage style options. options.maxWidth = options.width; - options.maxHeight = options.width; + options.maxHeight = options.height; options.crop = options.cropSquare; options.canvas = true;