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

Cannot read property 'toUpperCase' of null #22

Open
ocangelo opened this issue Jun 24, 2021 · 0 comments
Open

Cannot read property 'toUpperCase' of null #22

ocangelo opened this issue Jun 24, 2021 · 0 comments

Comments

@ocangelo
Copy link

I am still on 0.7.9, noticed this error in the console

VM1028:8 TypeError: Cannot read property 'toUpperCase' of null
    at layer-hotkeys.js:200
    at Function._call (eval at <anonymous> (libWrapper-errors.js:249), <anonymous>:4:14)
    at Function.call (foundry.js:2481)
    at SceneControls._render (foundry.js:4547)

seems a pretty straightforward fix as you are not checking for null here

if (key !== undefined) li.title += " [" + key.toUpperCase() + "]";

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