fix the screenshot being unsavable
This commit is contained in:
parent
dedd897104
commit
4c2c4111b7
1 changed files with 0 additions and 1 deletions
|
@ -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") {
|
||||||
|
|
Loading…
Reference in a new issue