From a3297609bbf5de1636888decd8c3a74a633ca777 Mon Sep 17 00:00:00 2001 From: AA4ch1 Date: Sun, 30 Apr 2017 21:58:33 +0900 Subject: [PATCH] Fix character_counter.jsx (#2653) This commit fixes #2576 --- .../features/compose/components/character_counter.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/components/features/compose/components/character_counter.jsx b/app/assets/javascripts/components/features/compose/components/character_counter.jsx index 284c51b6d5..08d2ac4d1a 100644 --- a/app/assets/javascripts/components/features/compose/components/character_counter.jsx +++ b/app/assets/javascripts/components/features/compose/components/character_counter.jsx @@ -4,7 +4,7 @@ import { length } from 'stringz'; class CharacterCounter extends React.PureComponent { checkRemainingText (diff) { - if (diff <= 0) { + if (diff < 0) { return {diff}; } return {diff};