From 39b9a0619ab4ba68ed429152153cf0dbbfcd5a5a Mon Sep 17 00:00:00 2001 From: Noiob <8197071+noiob@users.noreply.github.com> Date: Sun, 4 Apr 2021 21:42:30 +0200 Subject: [PATCH] Remove superfluous toot length check --- .../glitch/features/compose/components/publisher.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/javascript/flavours/glitch/features/compose/components/publisher.js b/app/javascript/flavours/glitch/features/compose/components/publisher.js index 97890f40da..1531dcaa91 100644 --- a/app/javascript/flavours/glitch/features/compose/components/publisher.js +++ b/app/javascript/flavours/glitch/features/compose/components/publisher.js @@ -47,7 +47,7 @@ class Publisher extends ImmutablePureComponent { const diff = maxChars - length(countText || ''); const computedClass = classNames('composer--publisher', { - disabled: disabled || diff < 0, + disabled: disabled, over: diff < 0, }); @@ -56,7 +56,7 @@ class Publisher extends ImmutablePureComponent { {sideArm && sideArm !== 'none' ? (