Skip to content

Commit

Permalink
Update file input accept attribute to include .vtt, .webvtt and .csv …
Browse files Browse the repository at this point in the history
…file types - should fix the issue in #5
  • Loading branch information
Mtillmann committed Jan 22, 2024
1 parent 9414df7 commit 7911611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ html(data-bs-theme="auto", lang="en")
include partials/timestampDialog
include partials/offcanvasNavi
include partials/analyticsOffcanvas
input#importFileInput.d-none(type="file", accept="audio/*,video/*,.json,.txt,.xml,image/*", @change="fileHandler.handleFile($event.target.files[0])")
input#importFileInput.d-none(type="file", accept="audio/*,video/*,.json,.webvtt,.vtt,.txt,.xml,.csv,image/*", @change="fileHandler.handleFile($event.target.files[0])")
div.toast-container.position-fixed.bottom-0.start-50.translate-middle-x(x-ref="toasts")

0 comments on commit 7911611

Please sign in to comment.