From 8ef0d4166081cd57d2d287236792280c7aff977f Mon Sep 17 00:00:00 2001 From: Phil Elson Date: Fri, 6 Nov 2020 21:48:09 +0100 Subject: [PATCH] Ensure that the maximum number of infected people remains below the total number, even if pressing the back button. Closes #65. --- cara/apps/calculator/static/form.html | 4 ++-- cara/apps/calculator/static/js/form.js | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/cara/apps/calculator/static/form.html b/cara/apps/calculator/static/form.html index d7ac9946..01d2d7da 100644 --- a/cara/apps/calculator/static/form.html +++ b/cara/apps/calculator/static/form.html @@ -76,8 +76,8 @@ Beta v1.0.0 Please send feedback to Event data:
Attendees:
- Total number of occupants:
- Number of infected people:
+ Total number of occupants:
+ Number of infected people:

Activity type: