My bad, options can be undefined

This commit is contained in:
GogoVega 2024-06-03 21:11:13 +02:00
parent da7c7ede02
commit bd2c020e84
No known key found for this signature in database
GPG Key ID: E1E048B63AC5AC2B

View File

@ -1580,7 +1580,7 @@
tooltip.delete();
}
}
if (options.returnErrorMessage === true) {
if (options?.returnErrorMessage === true) {
return valid;
}
// Must return a boolean for no 3.x validator