missing braces

This commit is contained in:
Andy Edinborough 2013-01-03 17:10:57 -06:00
parent 5492d80135
commit dc21fab450

View File

@ -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;