Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix JS error due to missing element #337

Merged
merged 1 commit into from
Nov 25, 2024
Merged

Conversation

sorawee
Copy link
Contributor

@sorawee sorawee commented Nov 23, 2024

The conditions to show the explanation for m1 support are inconsistent. The one that triggers the explanation uses version<=? and the one that creates the explanation uses version<?. Therefore, when the version is exactly version-before-m1-support, it attempts to show the explanation that doesn't exist.

This PR makes the adjustment to make the conditions consistent. Based on the name version-before-m1-support,
version<? seems to be the right one to use.

Fixes #336

The conditions to show the explanation for m1 support are inconsistent.
The one that triggers the explanation uses version<=? and
the one that creates the explanation uses version<?.
Therefore, when the version is exactly version-before-m1-support,
it attempts to show the explanation that doesn't exist.

This PR makes the adjustment to make the conditions consistent.
Based on the name `version-before-m1-support`,
version<? seems to be the right one to use.

Fixes #336
@sorawee sorawee force-pushed the fix-m1-element-missing branch from f330f11 to 4557010 Compare November 23, 2024 04:52
@sorawee sorawee merged commit feda7fb into master Nov 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Racket v7.9 download button gone
1 participant