no factorials

This commit is contained in:
Simon Gardling
2022-02-17 11:35:16 -05:00
parent e1c5d8c42c
commit 6723354e83
2 changed files with 8 additions and 1 deletions

View File

@@ -122,8 +122,10 @@ function checkVariables() {
function errorRecommend(error_string) {
if (error_string.includes("Evaluation error: unknown variable ")) {
return "This variable is not considered valid. Make sure you used a valid variable.";
} else if (error_string == "Factorials are unsupported") {
return "";
} else {
return "Make sure you're using proper syntax! Check console log (f12) as well for more details.";
return "Make sure you're using proper syntax! Check console log (press F12) as well for more details.";
}
}