Commit ad099012 by Etienne Freiss

lint

parent d82c419f
Pipeline #1547 failed with stage
in 1 minute 29 seconds
......@@ -188,10 +188,12 @@ function init_calendar_page() {
closeModal,
"J'ai compris"
);
}).show();
})
.show();
} else {
$("#calendar_explaination_button").hide();
$("#calendar_explaination_area").html(template_explanations.html()).show();
$("#calendar_explaination_area").html(template_explanations.html())
.show();
}
if (incoming_shifts !== null) {
......@@ -366,14 +368,13 @@ function init_shifts_exchange() {
$(this).removeClass('active');
});
});
}
else if (
} else if (
partner_data.comite === "True") {
let msg_template = $("#comite_template");
$(".comite_content_msg").html(msg_template.html());
$("#comite_content").show();
}
else if (partner_data.cooperative_state === 'suspended'
} else if (partner_data.cooperative_state === 'suspended'
&& partner_data.date_delay_stop === 'False') {
$("#suspended_content .makeups_nb").text(partner_data.makeups_to_do);
......@@ -396,8 +397,8 @@ function init_shifts_exchange() {
init_calendar_page();
}
$(window).smartresize(function(){
$(window).smartresize(function() {
vw = window.innerWidth;
init_calendar_page();
});
}
\ No newline at end of file
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment