Skip to content

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

Open
BerkeAras wants to merge 1 commit intonolimits4web:masterfrom
BerkeAras:fix(element)--Add-existance-check-for-params-on-lazyPreloadClass
Open

fix(element): Add existance Check for params on lazyPreloaderClass#7936
BerkeAras wants to merge 1 commit intonolimits4web:masterfrom
BerkeAras:fix(element)--Add-existance-check-for-params-on-lazyPreloadClass

Conversation

@BerkeAras
Copy link
Copy Markdown

Added Check, if params does not exist

Closes #7935

@nolimits4web
Copy link
Copy Markdown
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