Browse Source

Fix content warning being unnecessarily cleared when enabling/disabling CW (#13348)

closed-social-v3
ThibG 4 years ago
committed by GitHub
parent
commit
cf1fa73347
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      app/javascript/mastodon/reducers/compose.js

+ 0
- 1
app/javascript/mastodon/reducers/compose.js View File

@ -261,7 +261,6 @@ export default function compose(state = initialState, action) {
});
case COMPOSE_SPOILERNESS_CHANGE:
return state.withMutations(map => {
map.set('spoiler_text', '');
map.set('spoiler', !state.get('spoiler'));
map.set('idempotencyKey', uuid());

Loading…
Cancel
Save