Fixed chore edit form - period type hint did not work (references #151)

This commit is contained in:
Bernd Bestel
2019-05-04 15:40:26 +02:00
parent fe8bb43996
commit 98fcd767b3
2 changed files with 2 additions and 2 deletions

View File

@@ -117,6 +117,6 @@ $('.input-group-chore-period-type').on('change', function(e)
$("label[for='period_days']").text(__t("Day of month"));
$("#period_days").attr("min", "1");
$("#period_days").attr("max", "31");
$("#period_days").parent().find(".invalid-feedback").text(__t('The amount must be between %s and %s', "0", "31"));
$("#period_days").parent().find(".invalid-feedback").text(__t('The amount must be between %s and %s', "1", "31"));
}
});