Skip to content

fix: allow camera input for picture uploads - #175

Open
cyphercodes wants to merge 1 commit into
NodeBB:masterfrom
cyphercodes:fix-picture-camera-input
Open

fix: allow camera input for picture uploads#175
cyphercodes wants to merge 1 commit into
NodeBB:masterfrom
cyphercodes:fix-picture-camera-input

Conversation

@cyphercodes

Copy link
Copy Markdown

Summary

  • make the composer picture button open a single-image file chooser by removing multiple before clicking the hidden input
  • restore multiple for the generic upload button so multi-file uploads keep working

Fixes NodeBB/NodeBB#14588.

Testing

  • node VM dispatch assertion for picture and upload formatting handlers
  • npm run lint -- static/lib/composer/formatting.js
  • git diff --check

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.

Picture button in composer does not allow camera input

1 participant