Merge pull request #4110 from Nachtalb/na/fix-breaking-gifs

Fix breaking GIFs while removing metadata
This commit is contained in:
Pavel Djundik 2020-11-25 22:57:55 +02:00 committed by GitHub
commit aa84e13656
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {