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

[Bug]: referenceButtons are undefined #182

Closed
AmasiaNalbandian opened this issue Feb 2, 2022 · 2 comments
Closed

[Bug]: referenceButtons are undefined #182

AmasiaNalbandian opened this issue Feb 2, 2022 · 2 comments

Comments

@AmasiaNalbandian
Copy link

Sometimes reference buttons is undefined, in which case we get errors in the console. We should add an optional chain for this logic.
see here:

if (referenceButtons.classList.contains('active') && referenceButtons.getAttribute('data-class') === 'bg-transparent') {

See issue related here: Seneca-CDOT/telescope#2691

@AmasiaNalbandian
Copy link
Author

Please feel free to assign this to me - I'd be happy to add it in,

@github-actions
Copy link

github-actions bot commented Feb 2, 2022

@AmasiaNalbandian this issue was automatically closed because it did not follow the bellow rules:

IMPORTANT: Please use the following link to create a new issue:

https://www.creative-tim.com/new-issue/material-dashboard

**If your issue was not created using the app above, it will be closed immediately.**



Love Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:
👉  https://www.creative-tim.com/bundles
👉  https://www.creative-tim.com


@github-actions github-actions bot closed this as completed Feb 2, 2022
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