diff options
author | ThibG <thib@sitedethib.com> | 2020-03-31 14:10:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 14:10:18 +0200 |
commit | cf1fa73347c9ca2b1c4f14521e990feba7509e2e (patch) | |
tree | 97f6bebbcd65e5bfc9b441d52ffa45263a488e20 | |
parent | 31bd62520505cc4595d4ed6f83f6459fbaf8326e (diff) |
Fix content warning being unnecessarily cleared when enabling/disabling CW (#13348)
-rw-r--r-- | app/javascript/mastodon/reducers/compose.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/javascript/mastodon/reducers/compose.js b/app/javascript/mastodon/reducers/compose.js index c6653fe4c..e6e6d2ae1 100644 --- a/app/javascript/mastodon/reducers/compose.js +++ b/app/javascript/mastodon/reducers/compose.js @@ -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()); |