Skip to content

Getting an error on desktop view #1321

@matcompagnucci

Description

@matcompagnucci

Hi everyone!

I have the great Flickity on my website.

I want to show the carousel on mobile only and I used the SASS as described in the documentation

.productSlider:after //Show slider on mobile only
content: ''
display: none
@include bp(oneColumn)
content: 'flickity'

Everything works well beside I get an error on the flickity JS: TypeError: undefined is not an object (evaluating 't.forEach')

This is the page URL: https://www.mattiacompagnucci.com/shop/wandering-through-life-istanbul

The error blocks also other JS.

I hope you can help me solving this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions