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