about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/compose
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-29 12:35:23 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-29 12:35:23 -0500
commit863c101e0ac008cbfe9f6a9b7805c940d0c24810 (patch)
tree3919fcc8dff091d50e914f33caae6b8983f1a283 /app/javascript/flavours/glitch/features/compose
parent90d72f19bae6188dfd4ec54f81e239f2a2a341fe (diff)
move clear button text to mouseover
Diffstat (limited to 'app/javascript/flavours/glitch/features/compose')
-rw-r--r--app/javascript/flavours/glitch/features/compose/components/publisher.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/components/publisher.js b/app/javascript/flavours/glitch/features/compose/components/publisher.js
index effb3bfb6..6796bd595 100644
--- a/app/javascript/flavours/glitch/features/compose/components/publisher.js
+++ b/app/javascript/flavours/glitch/features/compose/components/publisher.js
@@ -57,11 +57,10 @@ class Publisher extends ImmutablePureComponent {
         <Button
           className='clear'
           onClick={onClearAll}
+          title={intl.formatMessage(messages.clear)}
           text={
             <span>
               <Icon icon='trash-o' />
-              {' '}
-              <FormattedMessage {...messages.clear} />
             </span>
           }
         />