This commit is contained in:
Dmitry Vasilev
2023-02-07 22:25:05 +08:00
parent 34188eddc3
commit 131c0565f1
8 changed files with 28 additions and 13 deletions

View File

@@ -23,7 +23,7 @@ globalThis.clear_directory_handle = () => {
let dir_handle
const request_directory_handle = async () => {
dir_handle = await showDirectoryPicker()
dir_handle = await globalThis.showDirectoryPicker()
await send_message({type: 'SET', data: dir_handle})
return dir_handle
}