Update index.html
Browse files- index.html +1 -0
index.html
CHANGED
@@ -237,6 +237,7 @@
|
|
237 |
canvas.height = img.height;
|
238 |
ctxCanvas.drawImage(img, 0, 0);
|
239 |
hasImage = true;
|
|
|
240 |
clearBtn.classList.remove("invisible");
|
241 |
dropButtons.classList.add("invisible");
|
242 |
};
|
|
|
237 |
canvas.height = img.height;
|
238 |
ctxCanvas.drawImage(img, 0, 0);
|
239 |
hasImage = true;
|
240 |
+
canvas.parentElement.style.height = canvas.offsetHeight + "px";
|
241 |
clearBtn.classList.remove("invisible");
|
242 |
dropButtons.classList.add("invisible");
|
243 |
};
|