From 458bdef63355effb7092feb964568ab2f5e58ed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1rbara=20de=20Castro=20Fernandes?= Date: Mon, 7 Sep 2020 15:39:44 -0300 Subject: [PATCH] Enable empty poll removal by deleting one of its options Previously, the user had to click on the "poll" icon at the bottom of the compose form in order to remove a poll. This commit changes how poll options behave so as to enable an empty poll to be removed through the deletion of either one of its options. This closes #317. --- .../features/compose/components/poll_form.js | Bin 7089 -> 7275 bytes .../compose/containers/poll_form_container.js | Bin 1339 -> 1404 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/app/soapbox/features/compose/components/poll_form.js b/app/soapbox/features/compose/components/poll_form.js index efbaa3e190ea988c50d1e7a086cf947436a93a87..f0db95f4471d96dfd6fd09deffc236e7be082c90 100644 GIT binary patch delta 153 zcmdmJ{@P;0EB46->?~YCsk!-OsR8*pIg={EEF>F*8j; zqa-7|_t+n2~kmDii hIaiV2#b^55)G392^R4ARv=43>33r3CRT;WNC9@Vr*q( kJ$q?xWMz0DJUt*WeIRscbZljl@C+WaO%E0avx^qs1rK~0C;$Ke diff --git a/app/soapbox/features/compose/containers/poll_form_container.js b/app/soapbox/features/compose/containers/poll_form_container.js index dfb3a1af2495f19f42eb013b20cdfe5ceb6aa015..9e3cb3c43bdb26491b06c8b15873d599cae6001e 100644 GIT binary patch delta 49 ycmdnZ^@nT1QXU