This commit is contained in:
2025-05-22 20:53:13 +02:00
parent cb567f0601
commit 1fdfa335ef
4 changed files with 8 additions and 6 deletions
+3 -1
View File
@@ -92,12 +92,13 @@ jQuery(function ($) {
.replace(/(^-|-$)/g, '');
$(this).addClass('type-media-' + className);
});
console.log(media);
// SLIDES RECONSTRUCTION LORS DU CHARGEMENT COMPLET
$(window).on('load', function () {
const $viewContent = $('.path-ressources .view-content').first();
if ($viewContent.length === 0) return;
$viewContent.addClass('view-ressources-hidden');
const allowedTypes = [
'type-publication-issue-du-programme-eqld',
@@ -155,6 +156,7 @@ jQuery(function ($) {
if (!isCustom) {
$(this).remove();
}
console.log(classes);
});
$viewContent.removeClass('view-ressources-hidden');