From 9175ebf20ce9808b63b552d4ba2ceec8eaa8a67b Mon Sep 17 00:00:00 2001 From: ThibG Date: Tue, 31 Mar 2020 14:10:18 +0200 Subject: [Glitch] Fix content warning being unnecessarily cleared when enabling/disabling CW Port cf1fa73347c9ca2b1c4f14521e990feba7509e2e to glitch-soc Signed-off-by: Thibaut Girka --- app/javascript/flavours/glitch/reducers/compose.js | 1 - 1 file changed, 1 deletion(-) (limited to 'app/javascript/flavours') diff --git a/app/javascript/flavours/glitch/reducers/compose.js b/app/javascript/flavours/glitch/reducers/compose.js index 92a9859d9..f758d5c93 100644 --- a/app/javascript/flavours/glitch/reducers/compose.js +++ b/app/javascript/flavours/glitch/reducers/compose.js @@ -344,7 +344,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()); -- cgit