From 552b4d9a5f809fbca8a57313b776f2a22448945f Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Tue, 17 Jul 2018 22:03:52 +0200 Subject: Disable threaded mode when canceling a reply (fixes #583) --- app/javascript/flavours/glitch/reducers/compose.js | 1 + 1 file changed, 1 insertion(+) (limited to 'app/javascript') diff --git a/app/javascript/flavours/glitch/reducers/compose.js b/app/javascript/flavours/glitch/reducers/compose.js index e937b3ccf..4ea87b7e5 100644 --- a/app/javascript/flavours/glitch/reducers/compose.js +++ b/app/javascript/flavours/glitch/reducers/compose.js @@ -297,6 +297,7 @@ export default function compose(state = initialState, action) { } }); case COMPOSE_REPLY_CANCEL: + state = state.setIn(['advanced_options', 'threaded_mode'], false); case COMPOSE_RESET: return state.withMutations(map => { map.set('in_reply_to', null); -- cgit