Skip to content
Snippets Groups Projects
Commit b5ccac3c authored by syuilo's avatar syuilo
Browse files

refactor

parent d7d533f9
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment