grille view content filtered
This commit is contained in:
@@ -266,4 +266,13 @@ function initCarousel({ mainImage, prevArrow, nextArrow, caption, thumbsContaine
|
||||
|
||||
|
||||
|
||||
//////////////////////////start classe en JS si des filtres sont présents///////////
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
if (window.location.search.length > 0) {
|
||||
document.querySelector('.view-content')?.classList.add('filtered');
|
||||
document.querySelectorAll('.tout-voir').forEach(btn => btn.remove());
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user