heimrichhannot / contao-slick-bundle

A content slider/carousel for contao based on kenwheelers slick carousel.
3 stars 3 forks source link

responsive-breakpoints option fires javascript-console-error #72

Closed cmartin6 closed 1 year ago

cmartin6 commented 1 year ago

Context Contao version: 4.13.18 Bundle version: 1.8.2 PHP version: 8.1

Description If I use the reponsive-breakpoints option I am getting the following javascript-console-error:

VM7268:1 Uncaught SyntaxError: Expected ',' or '}' after property value in JSON at position 2765
    at JSON.parse (<anonymous>)
    at Function.value (jquery.min.js,contao-utils-bundle.js,slick.min.js,contao-slick-b...-37dec1d9.js:7:1910)
    at jquery.min.js,contao-utils-bundle.js,slick.min.js,contao-slick-b...-37dec1d9.js:7:1679
    at NodeList.forEach (<anonymous>)
    at HTMLDocument.value (jquery.min.js,contao-utils-bundle.js,slick.min.js,contao-slick-b...-37dec1d9.js:7:1656)
cmartin6 commented 1 year ago

?

koertho commented 1 year ago

Was it your intention to close this issue?

cmartin6 commented 1 year ago

I recognized it is not an bundle-issue. I filled the prev- & next-button with inserttags, which results in invalid json ;-)

koertho commented 1 year ago

Ok thanks. Next time a little comment would be when closing an issue ;)