From dc21fab450f4a2ba8b3c53db70b72cb7d136e762 Mon Sep 17 00:00:00 2001 From: Andy Edinborough Date: Thu, 3 Jan 2013 17:10:57 -0600 Subject: [PATCH] missing braces --- src/Parse.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Parse.js b/src/Parse.js index 13cef56..f9ab44e 100644 --- a/src/Parse.js +++ b/src/Parse.js @@ -833,8 +833,9 @@ _html2canvas.Parse = function (images, options) { } function resizeImage(image, bounds) { - if(image.width === bounds.width && image.height === bounds.height) + if(image.width === bounds.width && image.height === bounds.height) { return image; + } var ctx, canvas = doc.createElement('canvas'); canvas.width = bounds.width;