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

Potential error on line 861 #85

Open
aesiyo opened this issue Jan 2, 2025 · 0 comments
Open

Potential error on line 861 #85

aesiyo opened this issue Jan 2, 2025 · 0 comments

Comments

@aesiyo
Copy link

aesiyo commented Jan 2, 2025

Hi! I noticed that like the person in Issue #81 , I have this error that I can't unselect "move point" or unselect anything at all. I decided to go to the console in my browser and found that when I hit the esc key I get several errors, one of them is at Interface.update (Dotgrid/:861:37).

I am not familiar with the JavaScript programming language, but I think you made a mistake in line 861 by writing .length with brackets (i.e. .length()). In the other lines, length is without brackets (which surprised me, as someone who doesn't know JS, until I read https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length).

When I removed the brackets, the “move point” stopped "sticking" at all, and the escape key started working, and errors stopped appearing in the console.

Browser: Brave 1.73.101 (based on Chromium 131.0.6778.139)

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

No branches or pull requests

1 participant