Skip to content
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 Error: Syntax error, unrecognized expression: <button class="slick-prev" aria-label="Previous" type="button">Previous</button> #1861

Closed
sacr3dc0w opened this issue Oct 5, 2020 · 2 comments

Comments

@sacr3dc0w
Copy link
Contributor

Expected behavior

Carousel to load on P2P when there's enough product images to initiate without throwing syntax error.

Actual behavior

jquery.min.js:2 Uncaught Error: Syntax error, unrecognized expression: <button class="slick-prev" aria-label="Previous" type="button">Previous</button>
    at Function.se.error (jquery.min.js:2)
    at se.tokenize (jquery.min.js:2)
    at Function.se [as find] (jquery.min.js:2)
    at ./assets/js/theme/global/jquery-migrate/init.js.__webpack_exports__.default.jQuery.fn.init.find (jquery.min.js:2)
    at ./assets/js/theme/global/jquery-migrate/init.js.__webpack_exports__.default.jQuery.fn.init../assets/js/theme/global/jquery-migrate/traversing.js.__webpack_exports__.default.jQuery.fn.find (traversing.js:10)
    at HTMLUListElement.onCarouselChange (carousel.js:46)
    at HTMLUListElement.dispatch (jquery.min.js:2)
    at HTMLUListElement.v.handle (jquery.min.js:2)
    at Object.trigger (jquery.min.js:2)
    at HTMLUListElement.<anonymous> (jquery.min.js:2)

Steps to reproduce behavior

Fresh install of Cornerstone, load product page with more than 5 images.

@bc-as
Copy link
Contributor

bc-as commented Oct 19, 2020

@sacr3dc0w We've got a PR open here for this issue - #1816

@sacr3dc0w
Copy link
Contributor Author

Thanks! All fixed thanks to that PR.

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

No branches or pull requests

2 participants