quinton-ashley / p5play-web

The website for p5play.org
17 stars 13 forks source link

Fix issue with getElementById() returning null #8

Closed shibomb closed 1 year ago

shibomb commented 1 year ago

Issue: All getElementById() calls were returning null.

Cause: The string used to obtain the ID contained a newline character.

Resolution: Modified the code to exclude newline characters when obtaining the ID string.

shibomb commented 1 year ago

Apparently, this glitch only occurs with Windows 11. I think a different solution is needed. So I am withdrawing this pull request.

shibomb commented 1 year ago

close

shibomb commented 1 year ago

I found a solution. https://stackoverflow.com/questions/71995658/how-to-stop-github-desktop-from-changing-my-line-endings

And my environment was ready. I will help you with Japanese translation. Thank you.

quinton-ashley commented 1 year ago

@shibomb I'm glad you will help with the Japanese translation! :)