Fix type in delete function

This commit is contained in:
Xi-Lin Yeh 2022-01-21 08:52:53 -08:00
parent 861fcf70c4
commit 935f4718e0

@ -74,7 +74,7 @@ async function initialize(win) {
// Delete files // Delete files
case "DELETE": case "DELETE":
result = await window.webContents.executeJavaScript(`document.deleteFiles("${data.filename}")`); result = await window.webContents.executeJavaScript(`document.deleteFile("${data.filename}")`);
break; break;
} }