summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorRaindropsSys <contact@minteck.org>2023-05-13 08:57:09 +0200
committerRaindropsSys <contact@minteck.org>2023-05-13 08:57:09 +0200
commitf80190dddaa72d9f8863b0b922e557668b6cba27 (patch)
tree6714b002b72d43b3d24e0da174376f75c06fde6a /includes
parent0e4f6cea6a4f8d1f860ded405a66f9fca9d93d96 (diff)
downloadpluralconnect-f80190dddaa72d9f8863b0b922e557668b6cba27.tar.gz
pluralconnect-f80190dddaa72d9f8863b0b922e557668b6cba27.tar.bz2
pluralconnect-f80190dddaa72d9f8863b0b922e557668b6cba27.zip
Updated includes/components/explicit.php (automated)
Diffstat (limited to 'includes')
-rw-r--r--includes/components/explicit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/components/explicit.php b/includes/components/explicit.php
index 9b3b159..4c55896 100644
--- a/includes/components/explicit.php
+++ b/includes/components/explicit.php
@@ -82,7 +82,7 @@
function requestExplicit(ifNotAgreed, allowUnderage) {
window.explicitCancelAction = ifNotAgreed;
- if (!allowUnderage && (window.age < 15 || !window.age)) {
+ if (!allowUnderage && window.age !== -1 && (window.age < 15 || !window.age)) {
document.getElementById("explicit-modal-confirm").classList.add("disabled");
document.getElementById("explicit-modal-hour").disabled = true;