Reworked wedge element, Fixed code copy button, Silenced SplideJS error for now

Update composer.php, common.json, and 8 more files...
This commit is contained in:
2023-12-20 00:24:52 +01:00
parent 0f63ab3371
commit 44a05eb73a
10 changed files with 118 additions and 131 deletions

View File

@@ -1,14 +1,19 @@
// Creating the galleries with SplideJs
window.addEventListener('load', function() {
new Splide( '.splide', {
perPage: 2,
cover: true,
heightRatio: 0.4,
breakpoints: {
768: {
perPage: 1,
try {
new Splide( '.splide', {
perPage: 2,
cover: true,
heightRatio: 0.4,
breakpoints: {
768: {
perPage: 1,
},
},
},
} ).mount();
}).mount();
} catch(err) {
console.log("Unable to setup Splide !");
console.log(err);
}
});