Skip to content

fix(element): Add existance Check for params on lazyPreloaderClass #7936

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BerkeAras
Copy link

Added Check, if params does not exist

Closes #7935

@nolimits4web
Copy link
Owner

Don't get why it is needed? We have this line before:

if (!swiper || swiper.destroyed || !swiper.params) return;

which already will stop code execution if there is no swiper.params

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

Successfully merging this pull request may close these issues.

Uncaught TypeError: Cannot read properties of undefined (reading 'lazyPreloaderClass')
2 participants