-
Notifications
You must be signed in to change notification settings - Fork 313
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
Uncaught TypeError: Cannot read properties of undefined (reading 'push') #241
Comments
Hello, |
Too lazy. But even than, its a good idea to check for empty array, isn't? |
Hey @hiteshjoshi - closing the issue for now. Unfortunately, it's hard to help if we don't have full picture - hope for your kind understanding. |
I am just saying, you are not checking for an empty array and its throwing error. MY PR adds a check. thats all. Fail to understand, how to create "full picture" here. |
preline/src/plugins/base-plugin/index.ts
Line 24 in be890a5
In chrome, $hsAccordionCollection or $hsDropdownCollection is undefined. Need a check for that here.
The text was updated successfully, but these errors were encountered: