mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 09:58:25 +00:00
When using ComposerUpload and/or ComposerUploadUppy, we were always calling bindMobileUploadButton. However with more composer-like interfaces being developed, we need this to be optional, as not everywhere will have a separate mobile upload button to bind to. Also makes it so the composer extending the ComposerUpload mixins is responsible for explicitly unbinding the mobile upload button if it needs to.