web: Enable clicking on demo file label

This commit is contained in:
Nathan Adams 2023-11-21 19:03:04 +01:00
parent 1b39bdcd0b
commit 81efa01991
1 changed files with 4 additions and 0 deletions

View File

@ -336,3 +336,7 @@ window.addEventListener("load", () => {
} }
loadSample(); loadSample();
})(); })();
document.getElementById("local-file-label")!.addEventListener("click", () => {
document.getElementById("local-file")!.click();
});