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:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user