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

An Error Hath!: board returns null #1

Open
ccfortenberry opened this issue Feb 28, 2018 · 0 comments
Open

An Error Hath!: board returns null #1

ccfortenberry opened this issue Feb 28, 2018 · 0 comments

Comments

@ccfortenberry
Copy link
Collaborator

In actions.js the board var returns 'null' which prevents any modifying of it from working and throw errors.

It's doing this since the DOM loads up the getElementById function that loads the tag with that ID before that tag is actually loaded. Normal methods of fixing this (specifying the <script> tag and Node.insertBefore) do not work here since the actions.js file will always be loaded before play.js.

What do?

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