mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-02-18 02:55:48 +00:00
Accept images in file picker.
This commit is contained in:
parent
61d4f43357
commit
68bd6c5a72
@ -240,7 +240,7 @@ export class TopBar extends React.Component<
|
|||||||
<input
|
<input
|
||||||
className="hidden"
|
className="hidden"
|
||||||
type="file"
|
type="file"
|
||||||
accept=".ged"
|
accept=".ged,image/*"
|
||||||
id="fileInput"
|
id="fileInput"
|
||||||
multiple
|
multiple
|
||||||
onChange={(e) => this.handleUpload(e)}
|
onChange={(e) => this.handleUpload(e)}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user