diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/components/explicit.php | 2 |
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; |