From 7911611b9a60d82d5f7e73eef39d92ee31c5f4fd Mon Sep 17 00:00:00 2001 From: Martin Tillmann Date: Mon, 22 Jan 2024 19:49:41 +0100 Subject: [PATCH] Update file input accept attribute to include .vtt, .webvtt and .csv file types - should fix the issue in #5 --- src/views/index.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/index.pug b/src/views/index.pug index 3dbf4f0..4c13f2b 100644 --- a/src/views/index.pug +++ b/src/views/index.pug @@ -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") \ No newline at end of file