Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Nov 28, 2024
1 parent bb3319f commit 842d103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basic/UploadEvent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ window.addEventListener(uploadCommand.eventName, (ce: MouseEvent) => {
const folder = element.hasAttribute("data-folder");
const convert = element.getAttribute("data-convert") === "true";
const stream = element.getAttribute("data-stream") === "true";
const maxStreamSize = parseInt(element.getAttribute("max-stream-size") ?? "0", 10);
const maxStreamSize = parseInt(element.getAttribute("data-max-stream-size") ?? "0", 10);
const uploadEvent = StringHelper.fromHyphenToCamel(element.getAttribute("data-upload-event"));
requestUpload({
element,
Expand Down

0 comments on commit 842d103

Please sign in to comment.