Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
moving el.remove code to support safari (#10445)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-Zimmer authored Jun 26, 2024
1 parent 58869f5 commit f5c937d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/editor/src/functions/assetFunctions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,12 @@ export const inputFileWithAddToScene = async ({
}
} catch (err) {
reject(err)
} finally {
el.remove()
}
}

el.click()
el.remove()
})

export const uploadProjectFiles = (projectName: string, files: File[], paths: string[], onProgress?) => {
Expand Down

0 comments on commit f5c937d

Please sign in to comment.