Update characters limit patch
This commit is contained in:
parent
56317957d7
commit
23a8b61e15
@ -1,8 +1,8 @@
|
||||
diff --git a/app/javascript/mastodon/features/compose/components/compose_form.jsx b/app/javascript/mastodon/features/compose/components/compose_form.jsx
|
||||
index e641d59f4..0cc7719bb 100644
|
||||
index 9222b2dc8..e2ce71b96 100644
|
||||
--- a/app/javascript/mastodon/features/compose/components/compose_form.jsx
|
||||
+++ b/app/javascript/mastodon/features/compose/components/compose_form.jsx
|
||||
@@ -90,7 +90,7 @@ class ComposeForm extends ImmutablePureComponent {
|
||||
@@ -100,7 +100,7 @@ class ComposeForm extends ImmutablePureComponent {
|
||||
const fulltext = this.getFulltextForCharacterCounting();
|
||||
const isOnlyWhitespace = fulltext.length !== 0 && fulltext.trim().length === 0;
|
||||
|
||||
@ -11,17 +11,17 @@ index e641d59f4..0cc7719bb 100644
|
||||
};
|
||||
|
||||
handleSubmit = (e) => {
|
||||
@@ -300,7 +300,7 @@ class ComposeForm extends ImmutablePureComponent {
|
||||
</div>
|
||||
@@ -297,7 +297,7 @@ class ComposeForm extends ImmutablePureComponent {
|
||||
</div>
|
||||
|
||||
<div className='character-counter__wrapper'>
|
||||
- <CharacterCounter max={500} text={this.getFulltextForCharacterCounting()} />
|
||||
+ <CharacterCounter max={100500} text={this.getFulltextForCharacterCounting()} />
|
||||
<div className='character-counter__wrapper'>
|
||||
- <CharacterCounter max={500} text={this.getFulltextForCharacterCounting()} />
|
||||
+ <CharacterCounter max={100500} text={this.getFulltextForCharacterCounting()} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
diff --git a/app/validators/status_length_validator.rb b/app/validators/status_length_validator.rb
|
||||
index e107912b7..1e374a84d 100644
|
||||
index dc841ded3..734ab143b 100644
|
||||
--- a/app/validators/status_length_validator.rb
|
||||
+++ b/app/validators/status_length_validator.rb
|
||||
@@ -1,7 +1,7 @@
|
||||
|
Loading…
Reference in New Issue
Block a user