Fix character_counter.jsx (#2653)

This commit fixes #2576
th-downstream
AA4ch1 8 years ago committed by Matt Jankowski
parent fe42d21a24
commit a3297609bb

@ -4,7 +4,7 @@ import { length } from 'stringz';
class CharacterCounter extends React.PureComponent { class CharacterCounter extends React.PureComponent {
checkRemainingText (diff) { checkRemainingText (diff) {
if (diff <= 0) { if (diff < 0) {
return <span className='character-counter character-counter--over'>{diff}</span>; return <span className='character-counter character-counter--over'>{diff}</span>;
} }
return <span className='character-counter'>{diff}</span>; return <span className='character-counter'>{diff}</span>;

Loading…
Cancel
Save