Merge pull request #35756 from Rl0007/fix/camera-capture
fix: capture input in Android v14+
This commit is contained in:
commit
6ebed1fa5e
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ function get_file_input() {
|
|||
input.setAttribute("type", "file");
|
||||
input.setAttribute("accept", "image/*");
|
||||
input.setAttribute("multiple", "");
|
||||
input.setAttribute("capture", "");
|
||||
|
||||
// Make sure that the input exists in the DOM
|
||||
input.classList.add("visually-hidden");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue