mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
allow any images
This commit is contained in:
parent
1fdb0a8c56
commit
3d32901470
@ -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" && file.type !== "image/webp") {
|
||||
if (!file.type.startsWith("image/")) {
|
||||
require(['toast'], function (toast) {
|
||||
toast(globalize.translate('MessageImageFileTypeAllowed'));
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user