My bad, options can be undefined

pull/4747/head
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
1 changed files with 1 additions and 1 deletions

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