mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-21 21:36:26 -08:00
parent
58aa0aac7e
commit
196b661b52
|
@ -16,7 +16,8 @@
|
|||
let attachmentZone
|
||||
let uploads = {}
|
||||
let uploadInProgress = false
|
||||
let notificationPermission = Notification.permission
|
||||
let notificationPermission =
|
||||
globalThis?.Notification?.permission ?? "denied"
|
||||
let handle_file_upload = (ev) => {
|
||||
if (ev.detail.type == "clone") {
|
||||
uploads[Math.random().toString().slice(2)] = {
|
||||
|
|
Loading…
Reference in a new issue