mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 14:07:38 -07:00
refactor
This commit is contained in:
parent
8e93632fcf
commit
78a77a174b
1 changed files with 2 additions and 2 deletions
|
@ -225,7 +225,7 @@ function setAsUploadFolder() {
|
||||||
defaultStore.set('uploadFolder', props.folder.id);
|
defaultStore.set('uploadFolder', props.folder.id);
|
||||||
}
|
}
|
||||||
|
|
||||||
function onContextmenu(e) {
|
function onContextmenu(ev: MouseEvent) {
|
||||||
os.contextMenu([{
|
os.contextMenu([{
|
||||||
text: i18n.locale.openInWindow,
|
text: i18n.locale.openInWindow,
|
||||||
icon: 'fas fa-window-restore',
|
icon: 'fas fa-window-restore',
|
||||||
|
@ -244,7 +244,7 @@ function onContextmenu(e) {
|
||||||
icon: 'fas fa-trash-alt',
|
icon: 'fas fa-trash-alt',
|
||||||
danger: true,
|
danger: true,
|
||||||
action: deleteFolder,
|
action: deleteFolder,
|
||||||
}], e);
|
}], ev);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue