mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
missing braces
This commit is contained in:
parent
5492d80135
commit
dc21fab450
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user