You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey !
I turn around in my seat for an hour... I have a weird problem i can't understand.
My main goal is to use the slider with masonry to add a custom gallery view popin.
On my localhost, I instanciate the plug-in and it works.
I'm putting my code on production and my my chrome crash on this error :
I was thinking about a code conflict with my others js scripts but same scripts work well on localhost. I'm using Chrome and I do not know what to do...
I have no idea about this problem i'm trying to resolve...
Thanks !
The text was updated successfully, but these errors were encountered:
Are you minifying any javascript when running in production?
Are you sure the element(s) in the Slidr are correctly instantiated before you call .start()? Maybe some other issues in your production code that's cascading its error to slidr?
Have you given slidr.min.js a try?
I solve the problem by checking if my elements were inside my slider DOM. It was the case but they weren't tagged by data-slidr attributes, and that caused the classname error. I was guilty !
Thank for help !
Hey !
I turn around in my seat for an hour... I have a weird problem i can't understand.
My main goal is to use the slider with masonry to add a custom gallery view popin.
On my localhost, I instanciate the plug-in and it works.
I'm putting my code on production and my my chrome crash on this error :
I was thinking about a code conflict with my others js scripts but same scripts work well on localhost. I'm using Chrome and I do not know what to do...
I have no idea about this problem i'm trying to resolve...
Thanks !
The text was updated successfully, but these errors were encountered: