mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 21:08:49 +01:00
🔇
This commit is contained in:
parent
221d3c1d7f
commit
d978386651
2 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue