From d9783866518aaf2d2e3f8cd01ca620706fd66533 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 22 Oct 2023 20:10:54 +0800 Subject: [PATCH] :mute: --- app/src/protyle/breadcrumb/index.ts | 1 - app/src/protyle/upload/index.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/app/src/protyle/breadcrumb/index.ts b/app/src/protyle/breadcrumb/index.ts index b3455ca9a..f69deaa45 100644 --- a/app/src/protyle/breadcrumb/index.ts +++ b/app/src/protyle/breadcrumb/index.ts @@ -256,7 +256,6 @@ export class Breadcrumb { uploadMenu.querySelector("input").addEventListener("change", (event: InputEvent & { target: HTMLInputElement }) => { - console.log(event.target.files.length) if (event.target.files.length === 0) { return; } diff --git a/app/src/protyle/upload/index.ts b/app/src/protyle/upload/index.ts index 4f75250ac..896c0cd50 100644 --- a/app/src/protyle/upload/index.ts +++ b/app/src/protyle/upload/index.ts @@ -252,7 +252,6 @@ export const uploadFiles = (protyle: IProtyle, files: FileList | DataTransferIte protyle.upload.isUploading = true; xhr.onreadystatechange = () => { - console.log(xhr.readyState) if (xhr.readyState === XMLHttpRequest.DONE) { protyle.upload.isUploading = false; if (!document.body.contains(protyle.element)) {