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

Allow webp

This commit is contained in:
Brian Maurer 2019-12-21 21:42:28 -05:00
parent 7c66d51a64
commit f3f64585e4

View file

@ -74,7 +74,7 @@ define(['dialogHelper', 'connectionManager', 'dom', 'loading', 'scrollHelper', '
return false;
}
if (file.type !== "image/png" && file.type !== "image/x-png" && file.type !== "image/jpeg") {
if (file.type !== "image/png" && file.type !== "image/x-png" && file.type !== "image/jpeg" && file.type !== "image/webp") {
require(['toast'], function (toast) {
toast(globalize.translate('MessageImageFileTypeAllowed'));
});