fix the screenshot being unsavable

This commit is contained in:
elijahr2411 2023-01-29 17:06:27 -05:00
parent dedd897104
commit 4c2c4111b7

View file

@ -678,7 +678,6 @@ buttons.screenshot.addEventListener('click', async () => {
var blob = await screenshotVM(); var blob = await screenshotVM();
var url = URL.createObjectURL(blob); var url = URL.createObjectURL(blob);
window.open(url, "_blank"); window.open(url, "_blank");
URL.revokeObjectURL(url);
}); });
chatinput.addEventListener("keypress", (e) => { chatinput.addEventListener("keypress", (e) => {
if (e.key == "Enter") { if (e.key == "Enter") {