From 4c2c4111b7b0f9f3115749d17948d40413156fd7 Mon Sep 17 00:00:00 2001 From: elijahr2411 Date: Sun, 29 Jan 2023 17:06:27 -0500 Subject: [PATCH] fix the screenshot being unsavable --- src/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/index.js b/src/index.js index 9b85bf1..004b58f 100644 --- a/src/index.js +++ b/src/index.js @@ -678,7 +678,6 @@ buttons.screenshot.addEventListener('click', async () => { var blob = await screenshotVM(); var url = URL.createObjectURL(blob); window.open(url, "_blank"); - URL.revokeObjectURL(url); }); chatinput.addEventListener("keypress", (e) => { if (e.key == "Enter") {