This is an automated email from the git hooks/post-receive script. New commit to branch feature/bug-on-save in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 84f61c6117e64b28c0692da055ecdc1deb7221ff Author: dcosse <cosse@codelutin.com> Date: Wed Oct 9 09:43:15 2019 +0200 refs #248 improve readable --- pollen-ui-riot-js/src/main/web/tag/poll/Choices.tag.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/Choices.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/Choices.tag.html index 05b6cf8e..d21141f7 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/Choices.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/Choices.tag.html @@ -76,9 +76,8 @@ this.on("mount", () => { let choiceDrag = this.refs.choicesDrag && Array.isArray(this.refs.choicesDrag) ? this.refs.choicesDrag : []; - let choices = (choiceDrag) - .sort((c1, c2) => Math.sign(c1.choice.choiceOrder - c2.choice.choiceOrder)) - .map(c => c.refs.choice); + let choices = choiceDrag .sort((c1, c2) => Math.sign(c1.choice.choiceOrder - c2.choice.choiceOrder)) + .map(c => c.refs.choice); choices[0] && choices[0].focus(); this.placeChoices(true); }); -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.