1
0
mirror of https://github.com/hotomoe/hotomoe synced 2024-11-25 07:36:24 +09:00
This commit is contained in:
syuilo 2022-01-19 23:51:37 +09:00
parent d7d533f9de
commit b5ccac3cb5

View File

@ -225,7 +225,7 @@ function setAsUploadFolder() {
defaultStore.set('uploadFolder', props.folder.id);
}
function onContextmenu(e) {
function onContextmenu(ev: MouseEvent) {
os.contextMenu([{
text: i18n.locale.openInWindow,
icon: 'fas fa-window-restore',
@ -244,7 +244,7 @@ function onContextmenu(e) {
icon: 'fas fa-trash-alt',
danger: true,
action: deleteFolder,
}], e);
}], ev);
}
</script>