aboutsummaryrefslogtreecommitdiff
path: root/website/resources/js/order-license.js
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2021-03-04 23:12:04 +0100
committerRoel Spilker <r.spilker@gmail.com>2021-03-04 23:12:04 +0100
commit42298f1e6c0d3a664e673d090ca7624e4242ef45 (patch)
tree8624dd540e5179bdb33fc782a1f58e9506a7eaa2 /website/resources/js/order-license.js
parenta7e9e8af49c61d2e9929ef9c807f18aa0d6d6c31 (diff)
downloadlombok-42298f1e6c0d3a664e673d090ca7624e4242ef45.tar.gz
lombok-42298f1e6c0d3a664e673d090ca7624e4242ef45.tar.bz2
lombok-42298f1e6c0d3a664e673d090ca7624e4242ef45.zip
Only accept orders for 10+ seats.
Diffstat (limited to 'website/resources/js/order-license.js')
-rw-r--r--website/resources/js/order-license.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/website/resources/js/order-license.js b/website/resources/js/order-license.js
index 21550f34..6745567d 100644
--- a/website/resources/js/order-license.js
+++ b/website/resources/js/order-license.js
@@ -110,7 +110,7 @@
formFail = true;
}
- if (!data.seats || isNaN(data.seats) || data.seats < 1) {
+ if (!data.seats || isNaN(data.seats) || data.seats < 10) {
$("#seats").focus();
showError("seats");
formFail = true;