Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support form: add support for pdf files #656

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

jennur
Copy link
Member

@jennur jennur commented Nov 15, 2023

@@ -165,7 +165,7 @@ class SupportForm extends Component {
});
},
maxSize: maxFileSize,
accept: ".jpeg,.jpg,.png",
accept: ".jpeg,.jpg,.png,.pdf",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
accept: ".jpeg,.jpg,.png,.pdf",

TBH, I'm not sure why we are limiting the accepted file types. I would just accept anything (imagine e.g. a user wanting to replace a README.md file).

@jennur jennur force-pushed the support-file-types branch from 7b2aef6 to 93a011f Compare November 20, 2023 18:47
@slint slint merged commit 82432b6 into zenodo:master Nov 21, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants