From 28e007536a3913307c068973a4102e22eca448f1 Mon Sep 17 00:00:00 2001 From: Angus McLeod Date: Mon, 7 Nov 2022 15:04:30 +0100 Subject: [PATCH] IMPROVE: Allow upload button on mobile --- .../discourse/components/custom-wizard-composer-editor.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/discourse/components/custom-wizard-composer-editor.js.es6 b/assets/javascripts/discourse/components/custom-wizard-composer-editor.js.es6 index 92c56ea1..5e2ef424 100644 --- a/assets/javascripts/discourse/components/custom-wizard-composer-editor.js.es6 +++ b/assets/javascripts/discourse/components/custom-wizard-composer-editor.js.es6 @@ -149,7 +149,7 @@ export default ComposerEditor.extend({ extraButtons(toolbar) { const component = this; - if (this.allowUpload && this.uploadIcon && !this.site.mobileView) { + if (this.allowUpload && this.uploadIcon) { toolbar.addButton({ id: "upload", group: "insertions",