Unverified Commit 5ff3d4eb authored by Chenlei Hu's avatar Chenlei Hu Committed by GitHub
Browse files

Fix audio upload when no audio in input dir (#3891)

parent 4f9d2b05
......@@ -145,7 +145,9 @@ app.registerExtension({
)
}
// Initially load default audio file to audioUIWidget.
onAudioWidgetUpdate()
if (audioWidget.value) {
onAudioWidgetUpdate()
}
audioWidget.callback = onAudioWidgetUpdate
const fileInput = document.createElement("input")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment