Merge pull request #4110 from Nachtalb/na/fix-breaking-gifs
Fix breaking GIFs while removing metadata
This commit is contained in:
commit
aa84e13656
@ -141,7 +141,8 @@ class Uploader {
|
||||
if (
|
||||
store.state.settings.uploadCanvas &&
|
||||
file.type.startsWith("image/") &&
|
||||
!file.type.includes("svg")
|
||||
!file.type.includes("svg") &&
|
||||
file.type !== "image/gif"
|
||||
) {
|
||||
this.renderImage(file, (newFile) => this.performUpload(token, newFile));
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user