fix pb postcode

This commit is contained in:
Nolwenn J 2017-11-28 16:37:05 +01:00
parent 7d07439047
commit 3e27400e11

View File

@ -163,7 +163,17 @@ $(document).ready(function() {
});
function owlCarousel(elem, nbElem0 = 2, nbElem480 = 3, nbElem767 = 4, nbElem990 = 4, nbElem1299 = 5, nbElem1499 = 6, stagePad = 30, navActivation = false, stagePadBig = 0){
function owlCarousel(elem, nbElem0, nbElem480, nbElem767, nbElem990, nbElem1299, nbElem1499, stagePad, navActivation, stagePadBig) {
nbElem0 = typeof nbElem0 !== 'undefined' ? nbElem0 : 2;
nbElem480 = typeof nbElem480 !== 'undefined' ? nbElem480 : 3;
nbElem767 = typeof nbElem767 !== 'undefined' ? nbElem767 : 4;
nbElem990 = typeof nbElem990 !== 'undefined' ? nbElem990 : 4;
nbElem1299 = typeof nbElem1299 !== 'undefined' ? nbElem1299 : 5;
nbElem1499 = typeof nbElem1499 !== 'undefined' ? nbElem1499 : 6;
stagePad = typeof stagePad !== 'undefined' ? stagePad : 30;
stagePadBig = typeof stagePad !== 'undefined' ? stagePad : 30;
navActivation = typeof navActivation !== 'undefined' ? navActivation : false;
/* copy col : owlCarousel(elem, 2, 3, 4, 4, 5, 6, 30, false, 30) */
$(elem).on('initialized.owl.carousel changed.owl.carousel refreshed.owl.carousel', function (event) {
if (!event.namespace) return;