diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-07-15 00:21:01 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-07-15 00:41:09 +0200 |
commit | e9fac2def9fe2b3570f38240307d63d3df8461cb (patch) | |
tree | 54269a5bf14fd65ed36714fd8933637a524ae3a4 | |
parent | e0bfa685c63b9c33c96b00b8305cd6ad3f3db27a (diff) |
Do not keep polls pre-filled in thread mode
-rw-r--r-- | app/javascript/flavours/glitch/reducers/compose.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/reducers/compose.js b/app/javascript/flavours/glitch/reducers/compose.js index a47b8b7bd..5f176b832 100644 --- a/app/javascript/flavours/glitch/reducers/compose.js +++ b/app/javascript/flavours/glitch/reducers/compose.js @@ -182,6 +182,7 @@ function continueThread (state, status) { map.set('privacy', status.visibility); map.set('sensitive', false); map.update('media_attachments', list => list.clear()); + map.set('poll', null); map.set('idempotencyKey', uuid()); map.set('focusDate', new Date()); map.set('caretPosition', null); |