Skip to content
Snippets Groups Projects
Commit e12bb39c authored by AA4ch1's avatar AA4ch1 Committed by Matt Jankowski
Browse files

Fix character_counter.jsx (#2653)

This commit fixes #2576
parent 5caa727e
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ import { length } from 'stringz';
class CharacterCounter extends React.PureComponent {
checkRemainingText (diff) {
if (diff <= 0) {
if (diff < 0) {
return <span className='character-counter character-counter--over'>{diff}</span>;
}
return <span className='character-counter'>{diff}</span>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment