Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
fuenkchen committed Aug 20, 2020
2 parents f833352 + 8859380 commit 6bd99f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nzz/q-quiz",
"version": "1.10.4",
"version": "1.10.5",
"description": "Q quiz",
"keywords": [
"storytelling",
Expand Down
8 changes: 3 additions & 5 deletions script_src/answerHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@ export function getAnswerTextElement(stats, isCorrectAnswer, getDiffText) {
statsTextHtml +=
" Das klingt schlimmer, als es ist. Sie waren so schnell, dass erst eine andere Person mitgemacht hat. Ihre Schätzung ist also auch die zweitbeste.";
} else if (stats.totalAnswers <= 11) {
statsTextHtml += ` Das klingt schlimmer, als es ist. Sie waren so schnell, dass erst ${
stats.totalAnswers - 1
} andere mitgemacht haben.`;
}

statsTextHtml += ` Das klingt schlimmer, als es ist. Sie waren so schnell, dass erst ${stats.totalAnswers -
1} andere mitgemacht haben.`;
}
statsTextHtml += "</span>";
} else if (stats.betterThanPercentage === 0) {
statsTextHtml += `<span class="s-font-text-s">
Expand Down

0 comments on commit 6bd99f9

Please sign in to comment.