mirror of
https://github.com/9001/copyparty.git
synced 2025-11-06 06:43:53 +00:00
in gridview, assume .ts files are video, not typescript
This commit is contained in:
@@ -4780,7 +4780,7 @@ var thegrid = (function () {
|
|||||||
fid = oth.getAttribute('id'),
|
fid = oth.getAttribute('id'),
|
||||||
aplay = ebi('a' + fid),
|
aplay = ebi('a' + fid),
|
||||||
atext = ebi('t' + fid),
|
atext = ebi('t' + fid),
|
||||||
is_txt = atext && showfile.getlang(href),
|
is_txt = atext && showfile.getlang(href) && !/\.ts$/.test(href),
|
||||||
is_img = img_re.test(href),
|
is_img = img_re.test(href),
|
||||||
is_dir = href.endsWith('/'),
|
is_dir = href.endsWith('/'),
|
||||||
is_srch = !!ebi('unsearch'),
|
is_srch = !!ebi('unsearch'),
|
||||||
|
|||||||
Reference in New Issue
Block a user