Multicar M26 (1)
Filter
Schließen
$( '.show-filter' ).on( 'click', function ( event ) {
$( '.filter-wrapper' ).slideDown( 0 );
$( 'body' ).addClass( 'filter-open' );
} );
$( '.filter-container .facet-name' ).on( 'click', function ( event ) {
$( this ).toggleClass( 'active' ).parent().find( '.facet-wrap' ).slideToggle( 400 );
} );
$( '.filter-wrapper' ).on( 'click', '#closeFilters', function ( event ) {
$( '.filter-wrapper' ).slideUp( 0 );
$( 'body' ).removeClass( 'filter-open' );
} );
window.addEventListener( "load", function () {
$('.sldr').not('.slick-initialized').slick({
dots: false,
touchThreshold: 200,
prevArrow: '',
nextArrow: ''
});
$('.slick-arrow').on('click', function(event) {
event.preventDefault();
});
});