瀏覽代碼

Fix media description button being disabled at 420 characters instead of 1500 (#11836)

master^2
ThibG 4 年之前
committed by Eugen Rochko
父節點
當前提交
c00ab575b7
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      app/javascript/mastodon/features/ui/components/focal_point_modal.js

+ 1
- 1
app/javascript/mastodon/features/ui/components/focal_point_modal.js 查看文件

@@ -226,7 +226,7 @@ class FocalPointModal extends ImmutablePureComponent {
<CharacterCounter max={1500} text={detecting ? '' : description} />
</div>

<Button disabled={!dirty || detecting || length(description) > 420} text={intl.formatMessage(messages.apply)} onClick={this.handleSubmit} />
<Button disabled={!dirty || detecting || length(description) > 1500} text={intl.formatMessage(messages.apply)} onClick={this.handleSubmit} />
</div>

<div className='focal-point-modal__content'>


Loading…
取消
儲存