about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/javascript/flavours/glitch/features/compose/components/publisher.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/components/publisher.js b/app/javascript/flavours/glitch/features/compose/components/publisher.js
index 6796bd595..012a70df4 100644
--- a/app/javascript/flavours/glitch/features/compose/components/publisher.js
+++ b/app/javascript/flavours/glitch/features/compose/components/publisher.js
@@ -58,6 +58,7 @@ class Publisher extends ImmutablePureComponent {
           className='clear'
           onClick={onClearAll}
           title={intl.formatMessage(messages.clear)}
+          disabled={disabled || diff < 0}
           text={
             <span>
               <Icon icon='trash-o' />