client: Stop showing mp4 files as undefined

This commit is contained in:
Shyam Sunder 2018-09-12 15:57:22 -04:00 committed by Marcin Kurczewski
parent cbf67587e2
commit c8fe0fcdff
2 changed files with 2 additions and 0 deletions

View file

@ -36,6 +36,7 @@
'image/jpeg': 'JPEG',
'image/png': 'PNG',
'video/webm': 'WEBM',
'video/mp4': 'MPEG-4',
'application/x-shockwave-flash': 'SWF',
}[ctx.post.mimeType] +
' (' +

View file

@ -9,6 +9,7 @@
'image/jpeg': 'JPEG',
'image/png': 'PNG',
'video/webm': 'WEBM',
'video/mp4': 'MPEG-4',
'application/x-shockwave-flash': 'SWF',
}[ctx.post.mimeType] %>
</a>