1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Add mks file support to subtitle uploader component and template

This commit is contained in:
Kevin Tan (Valius) 2023-11-05 01:09:25 -07:00
parent aacc36f335
commit 554416c6a5
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ function onFileReaderError(evt) {
}
function isValidSubtitleFile(file) {
return file && ['.sub', '.srt', '.vtt', '.ass', '.ssa']
return file && ['.sub', '.srt', '.vtt', '.ass', '.ssa', '.mks']
.some(function(ext) {
return file.name.endsWith(ext);
});