mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-04-12 01:26:17 +00:00
Accept images in file picker.
This commit is contained in:
@@ -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)}
|
||||||
|
|||||||
Reference in New Issue
Block a user